[
https://issues.apache.org/jira/browse/KAFKA-1171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13864627#comment-13864627
]
Christopher Freeman commented on KAFKA-1171:
--------------------------------------------
In the patch, the scalatest dependency is wrong. In :core dependencies, I
replace it with
{code}
if (scalaVersion.startsWith('2.8')) {
testCompile 'org.scalatest:scalatest:1.2'
} else if (scalaVersion.startsWith('2.10')) {
testCompile 'org.scalatest:scalatest_2.10:1.9.1'
} else {
testCompile "org.scalatest:scalatest_$scalaVersion:1.8"
}
{code}
to match the logic in core/build.sbt and ./gradlew -PscalaVersion=2.10.1 now
works
> Gradle build for Kafka
> ----------------------
>
> Key: KAFKA-1171
> URL: https://issues.apache.org/jira/browse/KAFKA-1171
> Project: Kafka
> Issue Type: Improvement
> Components: packaging
> Affects Versions: 0.8.1, 0.9.0
> Reporter: David Arthur
> Assignee: David Arthur
> Attachments: 0001-Adding-basic-Gradle-build.patch,
> 0001-Adding-basic-Gradle-build.patch, 0001-Adding-basic-Gradle-build.patch,
> 0001-Adding-basic-Gradle-build.patch, 0001-Adding-basic-Gradle-build.patch
>
>
> We have previously discussed moving away from SBT to an
> easier-to-comprehend-and-debug build system such as Ant or Gradle. I put up a
> patch for an Ant+Ivy build a while ago[1], and it sounded like people wanted
> to check out Gradle as well.
> 1. https://issues.apache.org/jira/browse/KAFKA-855
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)