Skip to content

Commit e6c61a5

Browse files
author
Martynas Petuška
committed
Kotlin 1.4.0-rc further cleanup
1 parent 6911533 commit e6c61a5

File tree

3 files changed

+27
-0
lines changed

3 files changed

+27
-0
lines changed

examples/counter/common/build.gradle.kts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,15 @@ kotlin {
1111
jvm()
1212
js(IR) {
1313
binaries.executable()
14+
15+
listOf(compilations["main"], compilations["test"]).forEach {
16+
with(it.kotlinOptions) {
17+
moduleKind = "umd"
18+
sourceMap = true
19+
sourceMapEmbedSources = "always"
20+
metaInfo = true
21+
}
22+
}
1423
}
1524

1625
iosArm64("ios")

redux-kotlin-threadsafe/build.gradle.kts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,15 @@ kotlin {
1212
js(BOTH) {
1313
// nodejs()
1414
// browser()
15+
16+
listOf(compilations["main"], compilations["test"]).forEach {
17+
with(it.kotlinOptions) {
18+
moduleKind = "umd"
19+
sourceMap = true
20+
sourceMapEmbedSources = "always"
21+
metaInfo = true
22+
}
23+
}
1524
}
1625

1726
iosArm64("ios")

redux-kotlin/build.gradle.kts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,15 @@ kotlin {
1313
js(BOTH) {
1414
// nodejs()
1515
// browser()
16+
17+
listOf(compilations["main"], compilations["test"]).forEach {
18+
with(it.kotlinOptions) {
19+
moduleKind = "umd"
20+
sourceMap = true
21+
sourceMapEmbedSources = "always"
22+
metaInfo = true
23+
}
24+
}
1625
}
1726

1827
iosArm64("ios")

0 commit comments

Comments
 (0)