Do not use embeddable compiler for K/N in testMppBuildWithCompilerPlugins
This commit is contained in:
+4
-1
@@ -1451,7 +1451,10 @@ class NewMultiplatformIT : BaseGradleIT() {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
build("assemble", printOptionsTaskName) {
|
// Do not use embeddable compiler in Kotlin/Native, otherwise it would effectively enable allopen & noarg plugins for Native, and
|
||||||
|
// we'd be testing that the latest versions of allopen/noarg work with the fixed version of Kotlin/Native (defined in the root
|
||||||
|
// build.gradle.kts), which is generally not guaranteed.
|
||||||
|
build("assemble", "-Pkotlin.native.useEmbeddableCompilerJar=false", printOptionsTaskName) {
|
||||||
assertSuccessful()
|
assertSuccessful()
|
||||||
assertTasksExecuted(*listOf("Jvm6", "NodeJs", "Linux64").map { ":compileKotlin$it" }.toTypedArray())
|
assertTasksExecuted(*listOf("Jvm6", "NodeJs", "Linux64").map { ":compileKotlin$it" }.toTypedArray())
|
||||||
assertFileExists("build/classes/kotlin/jvm6/main/com/example/Annotated.class")
|
assertFileExists("build/classes/kotlin/jvm6/main/com/example/Annotated.class")
|
||||||
|
|||||||
Reference in New Issue
Block a user