[ https://issues.apache.org/jira/browse/KAFKA-1171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13846314#comment-13846314 ]
David Arthur commented on KAFKA-1171: ------------------------------------- [~joestein], I think we would gain plenty, but that's just me. What I like about Ant: It's well understood tech - very old, boring, and stable. It has very wide adoption (lots of people know it). Build scripts are easily understood and modified (no "magic"). The biggest downside is that it is pretty verbose and not well loved by the Scala community. As for SBT, the only real benefits I see are the cross-building you get for free. Everything else seems like a pain. The DSL is incomprehensible without significant investment (for a build system, this is crazy, IMO). I haven't used it very much, but it seems to be a moving target that is constantly breaking compatibility of plugins. As far as I see it: * We can make SBT work, but it's caused us pain so far * We can maybe make Gradle work, but it's not obvious to me * We can make Ant work, but it's new and unpopular :) Back to Gradle for a moment: In the Samza build, they parameterize the Scala version which is pretty straightforward. This allows for doing things like {{./gradlew -DscalaVersion=2.9.1 build}}. It solves the issue of targeting multiple versions, but it won't automatically run the build for _all_ versions. If we can live with this, then we can probably get Gradle working. I'll continue tinkering for now. > 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 > > > 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.4#6159)