[
https://issues.apache.org/jira/browse/KAFKA-1171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Arthur updated KAFKA-1171:
--------------------------------
Attachment: 0001-Adding-basic-Gradle-build.patch
* Adding upload_* tasks for the different Scala versions
* Add subproject name to the upload artifact
* Tested uploading all artifacts to Nexus
* Tested pulling down artifacts via Ivy
* Fixed javadoc error (remove package.html from util dir)
Still seeing a few issues (non-blockers):
* Gradle warnings
{code}
The TaskContainer.add() method has been deprecated and is scheduled to be
removed in Gradle 2.0. Please use the create() method instead.
Building project 'core' with Scala version 2.8.0
The scalaTools configuration has been deprecated and is scheduled to be removed
in Gradle 2.0. Typically, usages of 'scalaTools' can simply be removed, and the
Scala tools libraries to be used will be inferred from the Scala library found
on the regular (compile) class path. In some cases, it may be necessary to
additionally configure the 'scalaClasspath' property of ScalaCompile and
ScalaDoc tasks.
{code}
* Some of our custom tasks don't show up in the "tasks" output
Other questions:
* Publishing docs/sources jars?
* How to produce a release dist with different Scala versions? Right now it
picks 2.8.0, maybe this should default to our "recommended" Scala version since
this is probably how people will run Kafka brokers.
*
> 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,
> 0001-Adding-basic-Gradle-build.patch, 0001-Adding-basic-Gradle-build.patch,
> kafka-1171_v6.patch, kafka-1171_v7.patch, kafka-1171_v8.patch,
> kafka-1171_v9.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)