mirror of https://github.com/apache/kafka.git
MINOR: Bump Gradle version to 5.0 (#5964)
Gradle 5.0 was released on 26 November. See the release notes for enhancements and fixes: https://docs.gradle.org/5.0/release-notes.html. A notable bugfix ensures that Javadoc artifacts are cleaned between builds. The upgraded wrapper was spot-checked against the commands in the README and the README was updated not to use removed system property `-Dtest.single`. Reviewers: Ismael Juma <ismael@juma.me.uk>
This commit is contained in:
parent
bfbc32d9bc
commit
4a0fd4c41b
|
@ -45,7 +45,7 @@ Follow instructions in http://kafka.apache.org/documentation.html#quickstart
|
||||||
./gradlew cleanTest integrationTest
|
./gradlew cleanTest integrationTest
|
||||||
|
|
||||||
### Running a particular unit/integration test ###
|
### Running a particular unit/integration test ###
|
||||||
./gradlew -Dtest.single=RequestResponseSerializationTest core:test
|
./gradlew clients:test --tests RequestResponseTest
|
||||||
|
|
||||||
### Running a particular test method within a unit/integration test ###
|
### Running a particular test method within a unit/integration test ###
|
||||||
./gradlew core:test --tests kafka.api.ProducerFailureHandlingTest.testCannotSendToInternalTopic
|
./gradlew core:test --tests kafka.api.ProducerFailureHandlingTest.testCannotSendToInternalTopic
|
||||||
|
@ -54,7 +54,7 @@ Follow instructions in http://kafka.apache.org/documentation.html#quickstart
|
||||||
### Running a particular unit/integration test with log4j output ###
|
### Running a particular unit/integration test with log4j output ###
|
||||||
Change the log4j setting in either `clients/src/test/resources/log4j.properties` or `core/src/test/resources/log4j.properties`
|
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 clients:test --tests RequestResponseTest
|
||||||
|
|
||||||
### Generating test coverage reports ###
|
### Generating test coverage reports ###
|
||||||
Generate coverage reports for the whole project:
|
Generate coverage reports for the whole project:
|
||||||
|
|
|
@ -89,7 +89,7 @@ allprojects {
|
||||||
}
|
}
|
||||||
|
|
||||||
ext {
|
ext {
|
||||||
gradleVersion = "4.10.2"
|
gradleVersion = "5.0"
|
||||||
minJavaVersion = "8"
|
minJavaVersion = "8"
|
||||||
buildVersionFileName = "kafka-version.properties"
|
buildVersionFileName = "kafka-version.properties"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue