Upgrade to a Kafka (JVM) version which uses Scala 2.11

Scala 2.10 is three years old and it appears to me tha 2.10 is moderately
broken and old, at that 2.11 is the bare minimum folks should be using these
days (see also: https://github.com/twitter/scrooge/pull/198)
This commit is contained in:
R. Tyler Croy 2015-09-28 08:43:50 -07:00
parent 9d5b773542
commit 1c7543f730
No known key found for this signature in database
GPG Key ID: 1426C7DC3F51E16F
1 changed files with 2 additions and 2 deletions

View File

@ -35,9 +35,9 @@ Gem::Specification.new do |s|
# dependency of your gem. if it is a runtime dependencies the require_jars
# file will be overwritten during installation.
s.add_dependency 'jar-dependencies', ['~> 0.1', '>= 0.1.10']
s.requirements << "jar org.apache.kafka:kafka_2.10, ~>0.8.1.1"
s.requirements << "jar org.apache.kafka:kafka_2.11, ~> 0.8.2.2"
# use log4j-1.2.16+ to as 1.2.15 declares deps which are not in maven central and causes the dep resolution to fail
s.requirements << "jar log4j:log4j, ~>1.2.16"
s.requirements << "jar log4j:log4j, ~> 1.2.16"
s.require_paths = ["lib"]
s.platform = 'java'
else