commit | 4d0759713fb2722bac8ce7dcbbb047d7af99280a | [log] [tgz] |
---|---|---|
author | Ivan Lyutov <ivanlyutov@gmail.com> | Sun Aug 10 21:20:30 2014 -0700 |
committer | Jun Rao <junrao@gmail.com> | Sun Aug 10 21:20:30 2014 -0700 |
tree | d0a4128eafe23bf1f17f359fcbb26d25ff44788a | |
parent | c9894fb6ee4d33155bdb669a2e2f64ed9c3f9441 [diff] |
kafka-1419; cross build for scala 2.11; patched by Ivan Lyutov; reviewed by Joe Stein and Jun Rao
See our web site for details on the project.
./gradlew jar
Follow instuctions in http://kafka.apache.org/documentation.html#quickstart
./gradlew srcJar
./gradlew javadoc ./gradlew javadocJar # builds a jar from the javadocs ./gradlew scaladoc ./gradlew scaladocJar # builds a jar from the scaladocs ./gradlew docsJar # builds both javadoc and scaladoc jar
./gradlew test
./gradlew cleanTest test
./gradlew -Dtest.single=RequestResponseSerializationTest core:test
change the log4j setting in either clients/src/test/resources/log4j.properties or core/src/test/resources/log4j.properties ./gradlew -i -Dtest.single=RequestResponseSerializationTest core:test
./gradlew clean ./gradlew releaseTarGz The above command will fail if you haven't set up the signing key. To bypass signing the artifact, you can run ./gradlew releaseTarGz -x signArchives
The release file can be found inside ./core/build/distributions/.
./gradlew clean
./gradlew -PscalaVersion=2.9.1 jar ./gradlew -PscalaVersion=2.9.1 test ./gradlew -PscalaVersion=2.9.1 releaseTarGz
This is for ‘core’, ‘perf’, ‘contrib:hadoop-consumer’, ‘contrib:hadoop-producer’, ‘examples’ and ‘clients’ ./gradlew core:jar ./gradlew core:test
./gradlew tasks
./gradlew eclipse ./gradlew idea
./gradlew jarAll
./gradlew testAll
./gradlew releaseTarGzAll
./gradlew uploadArchivesAll
Please note for this to work you should create/update ~/.gradle/gradle.properties
and assign the following variables
mavenUrl= mavenUsername= mavenPassword= signing.keyId= signing.password= signing.secretKeyRingFile=
./gradlew testJar
./gradlew core:dependencies --configuration runtime
Apache Kafka interested in building the community; we would welcome any thoughts or patches. You can reach us on the Apache mailing lists.
To contribute follow the instructions here:
We also welcome patches for the website and documentation which can be found here: