Skip to content

Commit c7e92ed

Browse files
4u7h0tk3y
authored andcommitted
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 (cherry picked from commit 0089de7)
1 parent 2f9447d commit c7e92ed

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build.gradle.kts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -396,6 +396,9 @@ allprojects {
396396
configurations.findByName("kotlinCompilerClasspath")?.let {
397397
dependencies.add(it.name, files(bootstrapCompilerClasspath))
398398
}
399+
400+
configurations.findByName("kotlinCompilerPluginClasspath")
401+
?.exclude("org.jetbrains.kotlin", "kotlin-scripting-compiler-embeddable")
399402
}
400403

401404
// Aggregate task for build related checks

0 commit comments

Comments
 (0)