MINOR: Ensure same version of scala library is used for compile and at runtime (#9168)

Reviewers: Ismael Juma <ismael@juma.me.uk>
This commit is contained in:
Rajini Sivaram 2020-08-12 23:39:21 +01:00 committed by GitHub
parent 7fed816f03
commit a15c1a9302
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -74,8 +74,10 @@ allprojects {
} }
} }
} }
configurations { configurations.all {
runtime { // zinc is the Scala incremental compiler, it has a configuration for its own dependencies
// that are unrelated to the project dependencies, we should not change them
if (name != "zinc") {
resolutionStrategy { resolutionStrategy {
force( force(
// ensure we have a single version of scala jars in the classpath, we enable inlining // ensure we have a single version of scala jars in the classpath, we enable inlining