Skip to content

Commit d201734

Browse files
committed
Downgrade the version of Guava to 31.1-jre, to escape the issue described in google/guava#6612.
1 parent 926a664 commit d201734

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

buildSrc/build.gradle.kts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ val kotlinVersion = "1.8.22"
8282
* Always use the same version as the one specified in [io.spine.internal.dependency.Guava].
8383
* Otherwise, when testing Gradle plugins, clashes may occur.
8484
*/
85-
val guavaVersion = "32.1.3-jre"
85+
val guavaVersion = "31.1-jre"
8686

8787
/**
8888
* The version of ErrorProne Gradle plugin.
@@ -132,9 +132,6 @@ val kotestJvmPluginVersion = "0.4.10"
132132
val koverVersion = "0.6.1"
133133

134134
configurations.all {
135-
attributes {
136-
attribute(Attribute.of("org.gradle.jvm.environment", "".javaClass), "standard-jvm")
137-
}
138135

139136
resolutionStrategy {
140137
force(

buildSrc/src/main/kotlin/io/spine/internal/dependency/Guava.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ package io.spine.internal.dependency
3737
*/
3838
@Suppress("unused", "ConstPropertyName")
3939
object Guava {
40-
private const val version = "32.1.3-jre"
40+
private const val version = "31.1-jre"
4141
const val lib = "com.google.guava:guava:${version}"
4242
const val testLib = "com.google.guava:guava-testlib:${version}"
4343
}

0 commit comments

Comments
 (0)