bisq/gradle
Chris Beams 42b00b3a3e
Fix guava dependency issue
Problem: a

    NoSuchMethodError: 'java.util.stream.Collector
    com.google.common.collect.ImmutableMultiset.toImmutableMultiset()'

exception was being thrown when testing the previously-merged upgrade to
Gradle 7.3, as described at keybase://chat/bisq#testing/2466.

Solution: This problem is similar to the issue reported at
jeremylong/DependencyCheck#3221. The source of the problem was multiple
conflicting guava jars on the runtime classpath. This commit upgrades to
guava 30.1.1-jre which ensures a single jar on the classpath.
2021-11-21 17:06:10 +01:00
..
wrapper Upgrade to Gradle 7.3 2021-11-13 12:09:22 +01:00
README.md Codacy: Test tag to skip check 2020-09-19 07:50:50 +02:00
verification-metadata.xml Fix guava dependency issue 2021-11-21 17:06:10 +01: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.