diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index f4f397666f..c98b170ace 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -25,7 +25,7 @@ docker-compose = { id = "com.avast.gradle.docker-compose" , version = "0.17.12" [versions] kotlin = "2.1.0" -kotlinCoroutines="1.9.0" +kotlinCoroutines="1.10.1" ktor="3.0.3" kotlinHtml="0.8.0" kotlinSerialization="1.7.3" diff --git a/mps-model-adapters-plugin/build.gradle.kts b/mps-model-adapters-plugin/build.gradle.kts index 6547a7c13a..6ddc0474f9 100644 --- a/mps-model-adapters-plugin/build.gradle.kts +++ b/mps-model-adapters-plugin/build.gradle.kts @@ -7,7 +7,13 @@ plugins { } dependencies { - testImplementation(project(":mps-model-adapters")) + testImplementation(project(":mps-model-adapters")) { + // MPS provides the Kotlin standard library and coroutines. + // Bundling different versions of the same library can cause the plugin to break. + exclude(group = "org.jetbrains.kotlin") + exclude(group = "org.jetbrains.kotlinx", module = "kotlinx-coroutines-core") + exclude(group = "org.jetbrains.kotlinx", module = "kotlinx-coroutines-jdk8") + } } intellij {