joshua2519 commented on code in PR #20741:
URL: https://github.com/apache/kafka/pull/20741#discussion_r2540611534


##########
gradle/wrapper/README.md:
##########
@@ -0,0 +1,42 @@
+# Gradle Wrapper
+
+This directory contains the Gradle wrapper files for the Apache Kafka project.
+
+## Upgrading Gradle version
+
+When upgrading the Gradle version used by the Kafka project, update the 
following files in order:
+
+1. **Update Gradle version** in `gradle/dependencies.gradle`:
+   ```groovy
+   gradle: "9.2.0"
+   ```
+
+2. **Update wrapper JAR checksum** in `wrapper.gradle`:
+   - Find the Wrapper JAR Checksum at https://gradle.org/release-checksums/
+   - Update the `wrapperChecksum` variable:
+   ```groovy
+   task bootstrapWrapper() {
+       // ... (other code)
+       doLast {
+           // ... (other code)
+           String wrapperChecksum = "<wrapper-jar-sha256-checksum>"
+           // ...
+       }
+   }
+   ```
+   - Verify the wrapper JAR URL is accessible at:
+     
`https://raw.githubusercontent.com/gradle/gradle/v<gradle-version>/gradle/wrapper/gradle-wrapper.jar`
+
+
+3. **Regenerate the `gradle/wrapper/gradle-wrapper.properties` and the wrapper 
script**:
+   - Find the SHA256 checksum for the binary distribution at 
https://gradle.org/release-checksums/

Review Comment:
   Done



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to