[Gradle] Fix usages of kotlinOptions in KotlinJsIrTarget
Replaced them with compiler options DSL. ^KT-63419 In Progress
This commit is contained in:
committed by
Space Team
parent
0986733f29
commit
66a39952ee
+1
-2
@@ -612,7 +612,6 @@ class Kotlin2JsIrGradlePluginIT : KGPBaseTest() {
|
||||
@GradleTest
|
||||
fun testPackageJsonWithEsModules(gradleVersion: GradleVersion) {
|
||||
project("kotlin-js-browser-project", gradleVersion) {
|
||||
buildGradleKts.modify(::transformBuildScriptWithPluginsDsl)
|
||||
subProject("app").buildGradleKts.modify {
|
||||
it + """
|
||||
|
|
||||
@@ -629,7 +628,7 @@ class Kotlin2JsIrGradlePluginIT : KGPBaseTest() {
|
||||
Gson().fromJson(it.readText(), PackageJson::class.java)
|
||||
}
|
||||
|
||||
assertEquals(packageJson.main, "kotlin/kotlin-js-browser-app.mjs")
|
||||
assertEquals("kotlin/kotlin-js-browser-app.mjs", packageJson.main)
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user