Skip to content

Commit c1975ff

Browse files
committed
Build. Fix warnings
1 parent 96b337e commit c1975ff

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

buildSrc/src/main/kotlin/karakum-conventions.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ plugins {
88

99
kotlin {
1010
js {
11-
moduleName = project.path
11+
outputModuleName = project.path
1212
.removePrefix(SEPARATOR)
1313
.replace(SEPARATOR, "-")
1414

buildSrc/src/main/kotlin/kotlin-conventions.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ plugins {
1515

1616
kotlin {
1717
js {
18-
moduleName = project.path
18+
outputModuleName = project.path
1919
.removePrefix(SEPARATOR)
2020
.replace(SEPARATOR, "-")
2121

@@ -37,7 +37,7 @@ kotlin {
3737

3838
if (project.wasmSupported) {
3939
wasmJs {
40-
moduleName = project.name + "-wasm"
40+
outputModuleName = project.name + "-wasm"
4141

4242
when (project.jsPlatform) {
4343
JsPlatform.WEB -> {

examples/buildSrc/src/main/kotlin/kotlin-conventions.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ plugins {
1010

1111
kotlin {
1212
js {
13-
moduleName = project.name
13+
outputModuleName = project.name
1414

1515
browser {
1616
commonWebpackConfig {

examples/js-common-playground/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ plugins {
1111

1212
kotlin {
1313
js {
14-
moduleName = project.name
14+
outputModuleName = project.name
1515

1616
browser()
1717
nodejs()
1818
}
1919

2020
wasmJs {
21-
moduleName = project.name + "-wasm"
21+
outputModuleName = project.name + "-wasm"
2222

2323
browser()
2424
nodejs()

0 commit comments

Comments
 (0)