You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by rs...@apache.org on 2020/08/12 22:54:06 UTC
[kafka] branch 2.5 updated: MINOR: Ensure same version of scala
library is used for compile and at runtime (#9168)
This is an automated email from the ASF dual-hosted git repository.
rsivaram pushed a commit to branch 2.5
in repository https://gitbox.apache.org/repos/asf/kafka.git
The following commit(s) were added to refs/heads/2.5 by this push:
new 1560eff MINOR: Ensure same version of scala library is used for compile and at runtime (#9168)
1560eff is described below
commit 1560effccec93828d467610a285e079b2cc7c812
Author: Rajini Sivaram <ra...@googlemail.com>
AuthorDate: Wed Aug 12 23:39:21 2020 +0100
MINOR: Ensure same version of scala library is used for compile and at runtime (#9168)
Reviewers: Ismael Juma <is...@juma.me.uk>
---
build.gradle | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/build.gradle b/build.gradle
index 73a13a0..6879aa5 100644
--- a/build.gradle
+++ b/build.gradle
@@ -73,8 +73,10 @@ allprojects {
}
}
}
- configurations {
- runtime {
+ configurations.all {
+ // 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 {
force(
// ensure we have a single version of scala jars in the classpath, we enable inlining