From 4a0fd4c41b3255a6df932eb22bd4f45d38717641 Mon Sep 17 00:00:00 2001 From: Colin Hicks Date: Thu, 29 Nov 2018 19:04:39 -0500 Subject: [PATCH] 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 --- README.md | 4 ++-- build.gradle | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f12b10f1233..7f9a78d9f9f 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ Follow instructions in http://kafka.apache.org/documentation.html#quickstart ./gradlew cleanTest integrationTest ### 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 ### ./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 ### 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 ### Generate coverage reports for the whole project: diff --git a/build.gradle b/build.gradle index d9816a18f61..59354dd0bd0 100644 --- a/build.gradle +++ b/build.gradle @@ -89,7 +89,7 @@ allprojects { } ext { - gradleVersion = "4.10.2" + gradleVersion = "5.0" minJavaVersion = "8" buildVersionFileName = "kafka-version.properties"