[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(
"""
kotlin {
target {
js {
$jsSubTargetName { }
produceExecutable()
binaries.executable()
}
}
""".trimIndent()
@@ -193,9 +193,9 @@ abstract class AbstractKotlinDslGradleKotlinJSFrameworkSupportProvider(
buildScriptData.addOther(
"""
kotlin {
target {
js {
$jsSubTargetName { }
produceExecutable()
binaries.executable()
}
}
""".trimIndent()
@@ -225,7 +225,7 @@ class KotlinGradleWebMultiplatformModuleBuilder : KotlinGradleAbstractMultiplatf
js {
browser {
}
produceExecutable()
binaries.executable()
}
sourceSets {
$commonSourceName {