[K/JS] Remove the ability to run Legacy JS backend from the Gradle Plugin

This commit is contained in:
Artem Kobzar
2023-03-28 12:47:04 +00:00
committed by Space Team
parent ae32eff543
commit c6e4858bc9
53 changed files with 239 additions and 43 deletions
+5
View File
@@ -135,6 +135,7 @@ compileKotlin2Js {
"-opt-in=kotlin.ExperimentalMultiplatform",
"-opt-in=kotlin.contracts.ExperimentalContracts",
"-XXLanguage:+RangeUntilOperator",
"-Xforce-deprecated-legacy-compiler-usage"
]
}
}
@@ -364,3 +365,7 @@ task runMocha(type: NodeTask, dependsOn: [testClasses, installMocha, ':kotlin-te
}
test.dependsOn runMocha
tasks.withType(org.jetbrains.kotlin.gradle.dsl.KotlinJsCompile) {
kotlinOptions.freeCompilerArgs += "-Xforce-deprecated-legacy-compiler-usage"
}