[Gradle, JS] Fix names for js mpp

This commit is contained in:
Ilya Goncharov
2020-02-18 20:50:57 +03:00
parent e1f7296426
commit a5602165ec
2 changed files with 2 additions and 2 deletions
@@ -86,7 +86,7 @@ internal class KotlinJsPresetEntry(
fun $presetName(
name: String = "$presetName",
configure: ${targetType.renderShort()}.() -> Unit = { }
) = $presetName(name = "$presetName", compiler = defaultJsCompilerType, configure = configure)
) = $presetName(name = name, compiler = defaultJsCompilerType, configure = configure)
fun $presetName(
compiler: JsCompilerType,
@@ -49,7 +49,7 @@ interface KotlinTargetContainerWithPresetFunctions : KotlinTargetsContainerWithP
fun js(
name: String = "js",
configure: KotlinJsTargetDsl.() -> Unit = { }
) = js(name = "js", compiler = defaultJsCompilerType, configure = configure)
) = js(name = name, compiler = defaultJsCompilerType, configure = configure)
fun js(
compiler: JsCompilerType,