Build: Workaround dependency cycle in kotlinCompilerPluginClasspath

When bootstrap version is less than from current version dependencies
of `kotlin-scripting-compiler-embeddable` are resolved into projects
which leads to circular dependencies

 #KT-33287
This commit is contained in:
Vyacheslav Gerasimov
2019-08-09 18:43:57 +03:00
parent 8ff081a596
commit 0089de7f7f
+3
View File
@@ -397,6 +397,9 @@ allprojects {
configurations.findByName("kotlinCompilerClasspath")?.let {
dependencies.add(it.name, files(bootstrapCompilerClasspath))
}
configurations.findByName("kotlinCompilerPluginClasspath")
?.exclude("org.jetbrains.kotlin", "kotlin-scripting-compiler-embeddable")
}
// Aggregate task for build related checks