Skip to content

Commit c2b05ba

Browse files
committed
Fix scala issue
1 parent b5f79f1 commit c2b05ba

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -541,6 +541,12 @@ pluginManager.withPlugin('org.jetbrains.kotlin.kapt') {
541541
}
542542
}
543543

544+
configurations.configureEach {
545+
resolutionStrategy.dependencySubstitution {
546+
substitute module('org.scala-lang:scala-library:2.11.1') using module('org.scala-lang:scala-library:2.11.5') because('To allow mixing with Java 8 targets')
547+
}
548+
}
549+
544550
if (getFile('dependencies.gradle').exists()) {
545551
apply from: 'dependencies.gradle'
546552
} else if (getFile('dependencies.gradle.kts').exists()) {

0 commit comments

Comments
 (0)