Wizard: fix js Gradle dsl
#KT-38121 fixed
This commit is contained in:
+2
-2
@@ -13,12 +13,12 @@ repositories {
|
||||
kotlin {
|
||||
js('nodeJs') {
|
||||
nodejs {
|
||||
|
||||
binaries.executable()
|
||||
}
|
||||
}
|
||||
js('browser') {
|
||||
browser {
|
||||
|
||||
binaries.executable()
|
||||
}
|
||||
}
|
||||
sourceSets {
|
||||
|
||||
+2
-2
@@ -13,12 +13,12 @@ repositories {
|
||||
kotlin {
|
||||
js("nodeJs") {
|
||||
nodejs {
|
||||
|
||||
binaries.executable()
|
||||
}
|
||||
}
|
||||
js("browser") {
|
||||
browser {
|
||||
|
||||
binaries.executable()
|
||||
}
|
||||
}
|
||||
sourceSets {
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@ kotlin {
|
||||
}
|
||||
js('a') {
|
||||
browser {
|
||||
|
||||
binaries.executable()
|
||||
}
|
||||
}
|
||||
sourceSets {
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@ kotlin {
|
||||
}
|
||||
js("a") {
|
||||
browser {
|
||||
|
||||
binaries.executable()
|
||||
}
|
||||
}
|
||||
sourceSets {
|
||||
|
||||
+6
-1
@@ -14,4 +14,9 @@ dependencies {
|
||||
testImplementation 'org.jetbrains.kotlin:kotlin-test-js'
|
||||
implementation 'org.jetbrains.kotlin:kotlin-stdlib-js'
|
||||
}
|
||||
kotlin.target.browser { }
|
||||
kotlin {
|
||||
js {
|
||||
browser {}
|
||||
binaries.executable()
|
||||
}
|
||||
}
|
||||
+6
-1
@@ -14,4 +14,9 @@ dependencies {
|
||||
testImplementation(kotlin("test-js"))
|
||||
implementation(kotlin("stdlib-js"))
|
||||
}
|
||||
kotlin.target.browser { }
|
||||
kotlin {
|
||||
js {
|
||||
browser {}
|
||||
binaries.executable()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user