Skip to content

Commit 69316b3

Browse files
committed
build(mps-model-adapters): fixed inconsistent JVM target setting
It fixes this error message: Execution failed for task ':mps-model-adapters-plugin:compileTestKotlin'. > Inconsistent JVM-target compatibility detected for tasks 'compileTestJava' (11) and 'compileTestKotlin' (17).
1 parent 5b5993b commit 69316b3

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import org.modelix.copyMps
2-
import org.modelix.mpsJavaVersion
32

43
plugins {
54
kotlin("jvm")
@@ -17,10 +16,6 @@ intellij {
1716
}
1817

1918
tasks {
20-
withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
21-
kotlinOptions.jvmTarget = mpsJavaVersion.toString()
22-
}
23-
2419
patchPluginXml {
2520
sinceBuild.set("211")
2621
untilBuild.set("241.*")

0 commit comments

Comments
 (0)