[Gradle, JS] Add test on whole-program output-granularity
This commit is contained in:
committed by
Space Team
parent
a1a046d164
commit
8363bae527
+15
@@ -1663,4 +1663,19 @@ class Kotlin2JsIrGradlePluginIT : KGPBaseTest() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@GradleTest
|
||||||
|
fun testJsIrWholeProgram(gradleVersion: GradleVersion) {
|
||||||
|
project("kotlin-js-browser-project", gradleVersion) {
|
||||||
|
buildGradleKts.modify(::transformBuildScriptWithPluginsDsl)
|
||||||
|
gradleProperties.appendText(
|
||||||
|
"""
|
||||||
|
|
|
||||||
|
|kotlin.js.ir.output.granularity=whole-program
|
||||||
|
""".trimMargin()
|
||||||
|
)
|
||||||
|
|
||||||
|
build("assemble")
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user