MINOR: Upgrade gradle to 9.6.1 - #23015
Conversation
Update the Gradle wrapper and checksum references (dependencies.gradle, gradle-wrapper.properties, gradlew, wrapper.gradle) from 9.4.1 to 9.6.1.
|
@Parkerhiphop Thanks for this patch. Would you mind testing more commands listed in the README? We encountered numerous issues when upgrading Gradle before |
m1a2st
left a comment
There was a problem hiding this comment.
Test on my local machine, all passed
| # | Command (from README.md) | Result |
|---|---|---|
| 1 | ./gradlew --version |
✅ PASS — reports Gradle 9.6.1 |
| 2 | ./gradlew tasks |
✅ BUILD SUCCESSFUL |
| 3 | ./gradlew jar |
✅ BUILD SUCCESSFUL (164 tasks, 158 executed) |
| 4 | ./gradlew clients:test --tests RequestResponseTest |
✅ BUILD SUCCESSFUL — 45 test cases, 0 failed |
| 5 | ./gradlew streams:integration-tests:test --tests RestoreIntegrationTest |
✅ BUILD SUCCESSFUL — 38 test cases, 0 failed |
| 6 | ./gradlew javadoc |
✅ BUILD SUCCESSFUL (85 tasks) |
| 7 | ./gradlew scaladoc |
✅ BUILD SUCCESSFUL (36 tasks) |
| 8 | ./gradlew -PskipSigning=true publishToMavenLocal |
✅ BUILD SUCCESSFUL — 730 tasks, 65 publish-related tasks executed |
Yes. I verified more test commands list in the README and attached them in the description. |
Thanks for testing! |
I guess the dependency order changed during the upgrade. We need to exclude |
|
Yes. I excluded I also verified it locally with: ./gradlew core:dependencyInsight --configuration testRuntimeClasspath --dependency bcprov-jdk15on
./gradlew core:test --tests kafka.api.UserClientIdQuotaTest.testThrottledRequestThe dependency insight output confirms that The targeted |
Update Gradle from 9.4.1 to 9.6.1, including the wrapper distribution
checksum and Kafka's wrapper JAR checksum references.
Updated files:
gradle/dependencies.gradlegradle/wrapper/gradle-wrapper.propertiesgradlewwrapper.gradleVerified locally with Gradle 9.6.1:
./gradlew --versionreports Gradle 9.6.1Build a JAR and run it
./gradlew jarBuild source JAR
./gradlew srcJarBuild aggregated javadoc
./gradlew aggregatedJavadoc --no-parallelBuild javadoc and scaladoc
./gradlew javadoc./gradlew javadocJar./gradlew scaladoc./gradlew scaladocJar./gradlew docsJarRunning a particular unit/integration test
./gradlew clients:test --tests RequestResponseTest./gradlew streams:integration-tests:test --tests RestoreIntegrationTestRunning a particular test method within a unit/integration test
./gradlew clients:test --tests org.apache.kafka.clients.MetadataTest.testTimeToNextUpdate./gradlew streams:integration-tests:test --tests org.apache.kafka.streams.integration.RestoreIntegrationTest.shouldRestoreNullRecordBuilding a binary release gzipped tarball
./gradlew clean releaseTarGzBuilding auto-generated messages
./gradlew processMessages processTestMessagesRunning a task for a specific project
./gradlew core:jarListing all gradle tasks
./gradlew tasksInstalling all projects to the local Maven repository
./gradlew -PskipSigning=true publishToMavenLocalBuilding the test JAR
./gradlew testJarRunning code quality checks
Checkstyle
./gradlew checkstyleMain checkstyleTest spotlessCheckSpotBugs
./gradlew spotbugsMain spotbugsTest -x testReviewers: Chia-Ping Tsai chia7712@gmail.com