diff --git a/spring-integration-kafka/build.gradle b/spring-integration-kafka/build.gradle index fce4040..b25623e 100644 --- a/spring-integration-kafka/build.gradle +++ b/spring-integration-kafka/build.gradle @@ -14,7 +14,10 @@ apply plugin: 'idea' group = 'org.springframework.integration' repositories { - maven { url 'https://repo.springsource.org/libs-snapshot' } + maven { + url 'https://repository.apache.org/content/groups/public' + } + maven { url 'https://repo.springsource.org/libs-milestone' } } sourceCompatibility=1.6 @@ -22,10 +25,12 @@ targetCompatibility=1.6 ext { junitVersion = '4.11' + kafkaVersion = '0.8.0-beta1' log4jVersion = '1.2.12' mockitoVersion = '1.9.5' + scalaVersion = '2.9.2' springVersion = '3.1.3.RELEASE' - springIntegrationVersion = '2.2.3.RELEASE' + springIntegrationVersion = '2.2.4.RELEASE' idPrefix = 'kafka' @@ -63,32 +68,19 @@ dependencies { compile "org.springframework:spring-context:$springVersion" compile "org.springframework:spring-expression:$springVersion" compile "org.springframework.integration:spring-integration-core:$springIntegrationVersion" - compile("org.apache:kafka_2.9.2:0.8.0-SNAPSHOT") { - exclude module: 'log4j' - } - compile("org.apache.zookeeper:zookeeper:3.3.4") { - exclude module: 'log4j' - exclude module: 'jline' - } - compile "org.scala-lang:scala-library:2.9.2" - compile "org.scala-lang:scala-compiler:2.9.2" - compile("log4j:log4j:1.2.15") { - exclude module: 'jms' - exclude module: 'jmx' - exclude module: 'jmxtools' - exclude module: 'jmxri' - } - compile "org.slf4j:slf4j-simple:1.6.4" - compile "net.sf.jopt-simple:jopt-simple:3.2" - compile "org.xerial.snappy:snappy-java:1.0.4.1" - //runtime "zkclient:zkclient:20120522" - - runtime "com.101tec:zkclient:0.2" + compile "org.apache.avro:avro:1.7.3" + compile "org.apache.avro:avro-compiler:1.7.3" runtime "com.yammer.metrics:metrics-core:2.2.0" runtime "com.yammer.metrics:metrics-annotation:2.2.0" - compile "org.apache.avro:avro:1.7.3" - compile "org.apache.avro:avro-compiler:1.7.3" + compile("org.apache.kafka:kafka_$scalaVersion:$kafkaVersion") { + exclude module: 'jms' + exclude module: 'jmxtools' + exclude module: 'jmxri' + } + + compile "org.scala-lang:scala-library:$scalaVersion" + compile "org.scala-lang:scala-compiler:$scalaVersion" testCompile "org.springframework.integration:spring-integration-test:$springIntegrationVersion" testCompile "junit:junit-dep:$junitVersion"