btraceio / btrace

BTrace - a safe, dynamic tracing tool for the Java platform
5.82k stars 959 forks source link

The gradle-wrapper.jar is stale with respect to gradle version. #668

Closed HappyHacker123 closed 9 months ago

HappyHacker123 commented 9 months ago

Problem Description

Currently btrace is using gradle wrapper with version 8.2.1 as mentioned in gradle-wrapper.properties and the checksum of current wrapper.jar is 91a239400bb638f36a1795d8fdf7939d532cdc7d794d1119b7261aac158b1e60. However, as can be seen from https://gradle.org/release-checksums/, the expected checksum of wrapper.jar 8.2.1 should be a8451eeda314d0568b5340498b36edf147a8f0d692c5ff58082d477abe9146e4. The inconsistency means that the wrapper.jar is stale and should be updated.

Possible Solution

As mentioned in gradle official document https://docs.gradle.org/current/userguide/gradle_wrapper.html#sec:upgrading_wrapper, you will need to run the wrapper task a second time to make sure the wrapper.jar is updated. You can run the below command in the root project. Automatically the wrapper scripts will be generated by gradle.

HappyHacker123 commented 9 months ago

@jbachorik Could you please take a look at this issue? Thx :)