Skip to content

Commit ce7bca6

Browse files
Abduqodiri Qurbonzodaqurbonzoda
Abduqodiri Qurbonzoda
authored andcommitted
Drop the Wasm workaround with using unstable NodeJs version
In Kotlin 2.0.20 the workaround is no longer needed as it uses NodeJs 22.0.0+
1 parent 3dc1229 commit ce7bca6

File tree

2 files changed

+0
-22
lines changed
  • examples/kotlin-multiplatform
  • integration/src/test/resources/templates/invalid-target/wasm-nodejs

2 files changed

+0
-22
lines changed

examples/kotlin-multiplatform/build.gradle

-11
Original file line numberDiff line numberDiff line change
@@ -135,14 +135,3 @@ benchmark {
135135
register("mingwX64")
136136
}
137137
}
138-
139-
// Node.js with canary v8 that supports recent Wasm GC changes
140-
rootProject.extensions.findByType(org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootExtension.class).with {
141-
nodeVersion = "21.0.0-v8-canary202309167e82ab1fa2"
142-
nodeDownloadBaseUrl = "https://nodejs.org/download/v8-canary"
143-
}
144-
145-
// Drop this when node js version become stable
146-
rootProject.tasks.withType(org.jetbrains.kotlin.gradle.targets.js.npm.tasks.KotlinNpmInstallTask.class).configureEach {
147-
args.add("--ignore-engines")
148-
}

integration/src/test/resources/templates/invalid-target/wasm-nodejs/build.gradle

-11
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,3 @@ benchmark {
1717
register("wasmJs")
1818
}
1919
}
20-
21-
// Node.js with canary v8 that supports recent Wasm GC changes
22-
rootProject.extensions.findByType(org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootExtension.class).with {
23-
nodeVersion = "21.0.0-v8-canary202309167e82ab1fa2"
24-
nodeDownloadBaseUrl = "https://nodejs.org/download/v8-canary"
25-
}
26-
27-
// Drop this when node js version become stable
28-
tasks.withType(org.jetbrains.kotlin.gradle.targets.js.npm.tasks.KotlinNpmInstallTask.class).configureEach {
29-
args.add("--ignore-engines")
30-
}

0 commit comments

Comments
 (0)