This is an automated email from the ASF dual-hosted git repository.

chia7712 pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/kafka.git


The following commit(s) were added to refs/heads/trunk by this push:
     new e89caad3708 MINOR: Upgrade gradle to 9.6.1 (#23015)
e89caad3708 is described below

commit e89caad3708ae23410d78d767028485f6703d66d
Author: Parker Chang <[email protected]>
AuthorDate: Thu Aug 6 01:28:34 2026 +0900

    MINOR: Upgrade gradle to 9.6.1 (#23015)
    
    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.gradle`
    - `gradle/wrapper/gradle-wrapper.properties`
    - `gradlew`
    - `wrapper.gradle`
    
    ## Verified locally with Gradle 9.6.1:
    - `./gradlew --version` reports Gradle 9.6.1
    
    Build a JAR and run it
    - `./gradlew jar`
    
    Build source JAR
    - `./gradlew srcJar`
    
    Build aggregated javadoc
    - `./gradlew aggregatedJavadoc --no-parallel`
    
    Build javadoc and scaladoc
    - `./gradlew javadoc`
    - `./gradlew javadocJar`
    - `./gradlew scaladoc`
    - `./gradlew scaladocJar`
    - `./gradlew docsJar`
    
    Running a particular unit/integration test
    - `./gradlew clients:test --tests RequestResponseTest`
    - `./gradlew streams:integration-tests:test --tests
    RestoreIntegrationTest`
    
    Running 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.shouldRestoreNullRecord`
    
    Building a binary release gzipped tarball
    - `./gradlew clean releaseTarGz`
    
    Building auto-generated messages
    - `./gradlew processMessages processTestMessages`
    
    Running a task for a specific project
    - `./gradlew core:jar`
    
    Listing all gradle tasks
    - `./gradlew tasks`
    
    Installing all projects to the local Maven repository
    - `./gradlew -PskipSigning=true publishToMavenLocal`
    
    Building the test JAR
    - `./gradlew testJar`
    
    Running code quality checks
    
    Checkstyle
    - `./gradlew checkstyleMain checkstyleTest spotlessCheck`
    
    SpotBugs
    - `./gradlew spotbugsMain spotbugsTest -x test`
    
    Reviewers: Ken Huang <[email protected]>, Chia-Ping Tsai
    <[email protected]>
---
 build.gradle                             | 2 ++
 gradle/dependencies.gradle               | 2 +-
 gradle/wrapper/gradle-wrapper.properties | 4 ++--
 gradlew                                  | 4 ++--
 wrapper.gradle                           | 2 +-
 5 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/build.gradle b/build.gradle
index 2196dd339a7..64831c79b0b 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1244,6 +1244,8 @@ project(':core') {
       // To prevent a UniqueResourceException due the same resource existing 
in both
       // org.apache.directory.api/api-all and 
org.apache.directory.api/api-ldap-schema-data
       testRuntimeOnly.exclude module: 'api-ldap-schema-data'
+      testCompileClasspath.exclude group: 'org.bouncycastle', module: 
'bcprov-jdk15on'
+      testRuntimeClasspath.exclude group: 'org.bouncycastle', module: 
'bcprov-jdk15on'
     }
 
     testRuntimeOnly(libs.apacheda) {
diff --git a/gradle/dependencies.gradle b/gradle/dependencies.gradle
index e43642c3055..65f2e985a7d 100644
--- a/gradle/dependencies.gradle
+++ b/gradle/dependencies.gradle
@@ -59,7 +59,7 @@ versions += [
   commonsValidator: "1.10.1",
   commonsNet: "3.13.0",
   classgraph: "4.8.179",
-  gradle: "9.4.1",
+  gradle: "9.6.1",
   grgit: "5.3.3",
   httpclient: "4.5.14",
   jackson: "2.21.5",
diff --git a/gradle/wrapper/gradle-wrapper.properties 
b/gradle/wrapper/gradle-wrapper.properties
index 8e61ef12590..da32a7e2ea3 100644
--- a/gradle/wrapper/gradle-wrapper.properties
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -1,7 +1,7 @@
 distributionBase=GRADLE_USER_HOME
 distributionPath=wrapper/dists
-distributionSha256Sum=2ab2958f2a1e51120c326cad6f385153bb11ee93b3c216c5fccebfdfbb7ec6cb
-distributionUrl=https\://services.gradle.org/distributions/gradle-9.4.1-bin.zip
+distributionSha256Sum=9c0f7faeeb306cb14e4279a3e084ca6b596894089a0638e68a07c945a32c9e14
+distributionUrl=https\://services.gradle.org/distributions/gradle-9.6.1-bin.zip
 networkTimeout=10000
 validateDistributionUrl=true
 zipStoreBase=GRADLE_USER_HOME
diff --git a/gradlew b/gradlew
index 682f87e3db1..71975a2c76a 100755
--- a/gradlew
+++ b/gradlew
@@ -201,10 +201,10 @@ fi
 
 
 # Loop in case we encounter an error.
-REQUIRED_WRAPPER_JAR_CHECKSUM="55243ef57851f12b070ad14f7f5bb8302daceeebc5bce5ece5fa6edb23e1145c"
+REQUIRED_WRAPPER_JAR_CHECKSUM="497c8c2a7e5031f6aa847f88104aa80a93532ec32ee17bdb8d1d2f67a194a9c7"
 for attempt in 1 2 3; do
   if [ ! -e "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" ]; then
-    if ! curl -s -S --retry 3 -L -o 
"$APP_HOME/gradle/wrapper/gradle-wrapper.jar" 
"https://raw.githubusercontent.com/gradle/gradle/v9.4.1/gradle/wrapper/gradle-wrapper.jar";;
 then
+    if ! curl -s -S --retry 3 -L -o 
"$APP_HOME/gradle/wrapper/gradle-wrapper.jar" 
"https://raw.githubusercontent.com/gradle/gradle/v9.6.1/gradle/wrapper/gradle-wrapper.jar";;
 then
       rm -f "$APP_HOME/gradle/wrapper/gradle-wrapper.jar"
       # Pause for a bit before looping in case the server throttled us.
       sleep 5
diff --git a/wrapper.gradle b/wrapper.gradle
index e30b10d10dd..7d06703ca0b 100644
--- a/wrapper.gradle
+++ b/wrapper.gradle
@@ -40,7 +40,7 @@ task bootstrapWrapper() {
         // of curl (built against OpenSSL library that doesn't support 
TLSv1.2) would fail to
         // fetch the jar.
         // IMPORTANT: This checksum **must** be updated whenever the Gradle 
version changes.
-        String wrapperChecksum = 
"55243ef57851f12b070ad14f7f5bb8302daceeebc5bce5ece5fa6edb23e1145c"
+        String wrapperChecksum = 
"497c8c2a7e5031f6aa847f88104aa80a93532ec32ee17bdb8d1d2f67a194a9c7"
         def wrapperJarUrl = 
"https://raw.githubusercontent.com/gradle/gradle/v$versions.gradle/gradle/wrapper/gradle-wrapper.jar";
 
         def bootstrapString = """

Reply via email to