升级gradle 包装器

设置GRADLE_VERSION为gradle的版本.

设置GRADLE_VERSION_CHECKSUM 为 “Binary-only (-bin) ZIP Checksum” ,”Binary-only (-bin) ZIP Checksum”可以从 https://gradle.org/release-checksums/ 中获取。

然后运行:

  1. for dir in . \
  2. benchmark-overhead \
  3. examples/distro \
  4. examples/extension \
  5. smoke-tests/images/fake-backend \
  6. smoke-tests/images/grpc \
  7. smoke-tests/images/quarkus \
  8. smoke-tests/images/servlet \
  9. smoke-tests/images/play \
  10. smoke-tests/images/spring-boot
  11. do
  12. (cd $dir && ./gradlew wrapper --gradle-version $GRADLE_VERSION \
  13. --gradle-distribution-sha256-sum=$GRADLE_VERSION_CHECKSUM)
  14. done