[Gradle, JS] Fix DSL for project wizards

#KT-37936 fixed
#KT-37937 fixed
This commit is contained in:
Ilya Goncharov
2020-04-02 10:13:43 +03:00
parent b3e6738243
commit 1b294ce5a5
3 changed files with 5 additions and 5 deletions
@@ -222,9 +222,9 @@ abstract class GradleKotlinJSFrameworkSupportProvider(
buildScriptData.addOther( buildScriptData.addOther(
""" """
kotlin { kotlin {
target { js {
$jsSubTargetName { } $jsSubTargetName { }
produceExecutable() binaries.executable()
} }
} }
""".trimIndent() """.trimIndent()
@@ -193,9 +193,9 @@ abstract class AbstractKotlinDslGradleKotlinJSFrameworkSupportProvider(
buildScriptData.addOther( buildScriptData.addOther(
""" """
kotlin { kotlin {
target { js {
$jsSubTargetName { } $jsSubTargetName { }
produceExecutable() binaries.executable()
} }
} }
""".trimIndent() """.trimIndent()
@@ -225,7 +225,7 @@ class KotlinGradleWebMultiplatformModuleBuilder : KotlinGradleAbstractMultiplatf
js { js {
browser { browser {
} }
produceExecutable() binaries.executable()
} }
sourceSets { sourceSets {
$commonSourceName { $commonSourceName {