Skip to content

Commit 82dfcbc

Browse files
author
Oleksandr Dzhychko
committed
fix(mps-model-adapters): exclude libraries provided by MPS from mps-model-adapters-plugin
1 parent 8afca42 commit 82dfcbc

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

mps-model-adapters-plugin/build.gradle.kts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,13 @@ plugins {
77
}
88

99
dependencies {
10-
testImplementation(project(":mps-model-adapters"))
10+
testImplementation(project(":mps-model-adapters")) {
11+
// MPS provides the Kotlin standard library and coroutines.
12+
// Bundling different versions of the same library can cause the plugin to break.
13+
exclude(group = "org.jetbrains.kotlin")
14+
exclude(group = "org.jetbrains.kotlinx", module = "kotlinx-coroutines-core")
15+
exclude(group = "org.jetbrains.kotlinx", module = "kotlinx-coroutines-jdk8")
16+
}
1117
}
1218

1319
intellij {

0 commit comments

Comments
 (0)