bisq/gradle
2024-06-07 22:53:32 +07:00
..
wrapper Update to Gradle 7.6.3 2023-10-17 00:25:21 +02:00
libs.versions.toml Add restapi module (code from dao-node) 2024-06-07 22:53:32 +07:00
README.md Update dependency verification metadata 2022-06-14 12:53:11 +02:00
verification-metadata.xml Add restapi module (code from dao-node) 2024-06-07 22:53:32 +07:00

How to upgrade the Gradle version

Visit the Gradle website and decide the:

  • desired version
  • desired distribution type
  • what is the sha256 for the version and type chosen above

Adjust the following command with tha arguments above and execute it twice:

./gradlew wrapper --gradle-version 6.6.1 \
    --distribution-type all \
    --gradle-distribution-sha256-sum 11657af6356b7587bfb37287b5992e94a9686d5c8a0a1b60b87b9928a2decde5

The first execution should automatically update:

  • bisq/gradle/wrapper/gradle-wrapper.properties

The second execution should then update:

  • bisq/gradle/wrapper/gradle-wrapper.jar
  • bisq/gradlew
  • bisq/gradlew.bat

The four updated files are ready to be committed.

To update the verification-metadata file run:

  • ./gradlew --write-verification-metadata sha256