mirror of https://github.com/apache/kafka.git
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:
parent
7fed816f03
commit
a15c1a9302
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue