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:
@@ -397,6 +397,9 @@ allprojects {
|
|||||||
configurations.findByName("kotlinCompilerClasspath")?.let {
|
configurations.findByName("kotlinCompilerClasspath")?.let {
|
||||||
dependencies.add(it.name, files(bootstrapCompilerClasspath))
|
dependencies.add(it.name, files(bootstrapCompilerClasspath))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
configurations.findByName("kotlinCompilerPluginClasspath")
|
||||||
|
?.exclude("org.jetbrains.kotlin", "kotlin-scripting-compiler-embeddable")
|
||||||
}
|
}
|
||||||
|
|
||||||
// Aggregate task for build related checks
|
// Aggregate task for build related checks
|
||||||
|
|||||||
Reference in New Issue
Block a user