[Gradle, JS] Fix DSL for project wizards
#KT-37936 fixed #KT-37937 fixed
This commit is contained in:
+2
-2
@@ -222,9 +222,9 @@ abstract class GradleKotlinJSFrameworkSupportProvider(
|
|||||||
buildScriptData.addOther(
|
buildScriptData.addOther(
|
||||||
"""
|
"""
|
||||||
kotlin {
|
kotlin {
|
||||||
target {
|
js {
|
||||||
$jsSubTargetName { }
|
$jsSubTargetName { }
|
||||||
produceExecutable()
|
binaries.executable()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
""".trimIndent()
|
""".trimIndent()
|
||||||
|
|||||||
+2
-2
@@ -193,9 +193,9 @@ abstract class AbstractKotlinDslGradleKotlinJSFrameworkSupportProvider(
|
|||||||
buildScriptData.addOther(
|
buildScriptData.addOther(
|
||||||
"""
|
"""
|
||||||
kotlin {
|
kotlin {
|
||||||
target {
|
js {
|
||||||
$jsSubTargetName { }
|
$jsSubTargetName { }
|
||||||
produceExecutable()
|
binaries.executable()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
""".trimIndent()
|
""".trimIndent()
|
||||||
|
|||||||
+1
-1
@@ -225,7 +225,7 @@ class KotlinGradleWebMultiplatformModuleBuilder : KotlinGradleAbstractMultiplatf
|
|||||||
js {
|
js {
|
||||||
browser {
|
browser {
|
||||||
}
|
}
|
||||||
produceExecutable()
|
binaries.executable()
|
||||||
}
|
}
|
||||||
sourceSets {
|
sourceSets {
|
||||||
$commonSourceName {
|
$commonSourceName {
|
||||||
|
|||||||
Reference in New Issue
Block a user