Skip to content

Commit 3c4844a

Browse files
committed
Ensure we can always resolve dependencies
1 parent 519ef15 commit 3c4844a

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

common.gradle

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ buildscript {
460460
}
461461
dependencies {
462462
classpath "com.xlson.groovycsv:groovycsv:1.3"
463-
classpath "com.google.guava:guava:28.1-jre"
463+
classpath "com.google.guava:guava:29.0-jre"
464464

465465
classpath "com.github.sghill.gradle:distribution-sha-plugin:0.4.0"
466466
classpath "io.franzbecker:gradle-lombok:4.0.0"
@@ -613,6 +613,15 @@ sourceSets {
613613
}
614614
}
615615

616+
sourceSets.all {
617+
configurations.getByName(runtimeClasspathConfigurationName) {
618+
attributes.attribute(Attribute.of("org.gradle.jvm.environment", String), "standard-jvm")
619+
}
620+
configurations.getByName(compileClasspathConfigurationName) {
621+
attributes.attribute(Attribute.of("org.gradle.jvm.environment", String), "standard-jvm")
622+
}
623+
}
624+
616625
configurations {
617626
codacy
618627

0 commit comments

Comments
 (0)