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.
This commit is contained in:
Chris Beams 2021-11-21 12:01:34 +01:00
parent b5a43c7f95
commit 42b00b3a3e
No known key found for this signature in database
GPG Key ID: 3D214F8F5BC5ED73
2 changed files with 35 additions and 1 deletions

View File

@ -43,7 +43,7 @@ configure(subprojects) {
fontawesomefxMaterialdesignfontVersion = '2.0.26-9.1.2'
grpcVersion = '1.42.1'
gsonVersion = '2.8.5'
guavaVersion = '28.2-jre'
guavaVersion = '30.1.1-jre'
guiceVersion = '5.0.1'
hamcrestVersion = '1.3'
httpclientVersion = '4.5.12'

View File

@ -644,6 +644,14 @@
<sha256 value="1326738a4b4f7ccacf607b866a11fb85193ef60f6a59461187ce7265f9be5bed" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="com.google.errorprone" name="error_prone_annotations" version="2.5.1">
<artifact name="error_prone_annotations-2.5.1.jar">
<sha256 value="ff80626baaf12a09342befd4e84cba9d50662f5fcd7f7a9b3490a6b7cf87e66c" origin="Generated by Gradle"/>
</artifact>
<artifact name="error_prone_annotations-2.5.1.pom">
<sha256 value="983ad7fe0fa6f6f91e2d20477f5089eccc3f4d8ec6c51d6eb45583970e279d3c" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="com.google.errorprone" name="error_prone_annotations" version="2.9.0">
<artifact name="error_prone_annotations-2.9.0.jar">
<sha256 value="f947bdc33ae27a6b4aa44799e6c21e1944797bd0010ba43eb82d11446e163694" origin="Generated by Gradle"/>
@ -662,6 +670,11 @@
<sha256 value="40495b437a60d2398f0fdfc054b89d9c394a82347a274a0721c2e950a4302186" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="com.google.errorprone" name="error_prone_parent" version="2.5.1">
<artifact name="error_prone_parent-2.5.1.pom">
<sha256 value="a17a7677482a3a51a45f5e08140072acd332ccb12f23899b0052d80a729c2e52" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="com.google.errorprone" name="error_prone_parent" version="2.9.0">
<artifact name="error_prone_parent-2.9.0.pom">
<sha256 value="520b123d085975b563e34d04400c6263896f858867ce7fc478dd37f491eae3b4" origin="Generated by Gradle"/>
@ -728,6 +741,14 @@
<sha256 value="47cc477e2fbe7075260fc01c53b0f8eab4a8ec0367421c9a2cfd9c17d55f6ea4" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="com.google.guava" name="guava" version="30.1.1-jre">
<artifact name="guava-30.1.1-jre.jar">
<sha256 value="44ce229ce26d880bf3afc362bbfcec34d7e6903d195bbb1db9f3b6e0d9834f06" origin="Generated by Gradle"/>
</artifact>
<artifact name="guava-30.1.1-jre.pom">
<sha256 value="6d18c9188ad4b7855fb7fea6f1793754b41fa1747811ae1e3d753d6fcc9dcc59" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="com.google.guava" name="guava-jdk5" version="17.0">
<artifact name="guava-jdk5-17.0.jar">
<sha256 value="59bf456547b6dda3ced968cb56f7f2d3e14474e2de2960a32c47e31c1e456c61" origin="Generated by Gradle"/>
@ -761,6 +782,11 @@
<sha256 value="e99bc62d55a56407c4dddc1785220914a535fbd91f9cdc68b5cc871d5670ae8f" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="com.google.guava" name="guava-parent" version="30.1.1-jre">
<artifact name="guava-parent-30.1.1-jre.pom">
<sha256 value="0422bd45ca2497bfa18aad2698324965ed70da0907b8a7d459b7ab3b5eed3834" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="com.google.guava" name="guava-parent-jdk5" version="17.0">
<artifact name="guava-parent-jdk5-17.0.pom">
<sha256 value="5a9606bc27632956b3c11df887e9b3e785854068aaa4e0808ed5660f60b1fb6f" origin="Generated by Gradle"/>
@ -1864,6 +1890,14 @@
<sha256 value="dc4cd438a36462d013c2338c8e206d102a322a00f33729e8955ee219859c9ede" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.checkerframework" name="checker-qual" version="3.8.0">
<artifact name="checker-qual-3.8.0.jar">
<sha256 value="c88c2e6a5fdaeb9f26fcf879264042de8a9ee9d376e2477838feaabcfa44dda6" origin="Generated by Gradle"/>
</artifact>
<artifact name="checker-qual-3.8.0.pom">
<sha256 value="7e6d59e2d3bc01b1f04fa3667193a6d4170199b14fba53a7a8e36bf7602239a7" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.codehaus.jackson" name="jackson-core-asl" version="1.9.11">
<artifact name="jackson-core-asl-1.9.11.jar">
<sha256 value="5fb6924b888550a9b0e8420747a93cc4ad24e03e724dcf4934c30cc0c4882ffc" origin="Generated by Gradle"/>