File tree Expand file tree Collapse file tree 6 files changed +22
-8
lines changed Expand file tree Collapse file tree 6 files changed +22
-8
lines changed Original file line number Diff line number Diff line change @@ -378,9 +378,16 @@ if (CacheRedirector.enabled) {
378
378
}
379
379
}
380
380
381
- // Drop this configuration when the Node.JS version in KGP is at least 20.2.0
381
+ // Drop this configuration when the Node.JS version in KGP will support wasm gc milestone 4
382
382
// check it here:
383
383
// https://github.com/JetBrains/kotlin/blob/master/libraries/tools/kotlin-gradle-plugin/src/common/kotlin/org/jetbrains/kotlin/gradle/targets/js/nodejs/NodeJsRootExtension.kt
384
384
extensions. findByType(org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootExtension . class). with {
385
- it. nodeVersion = " 20.2.0"
386
- }
385
+ // canary nodejs that supports recent Wasm GC changes
386
+ it. nodeVersion = " 21.0.0-v8-canary202309167e82ab1fa2"
387
+ it. nodeDownloadBaseUrl = " https://nodejs.org/download/v8-canary"
388
+ }
389
+
390
+ // Drop this when node js version become stable
391
+ tasks. withType(org.jetbrains.kotlin.gradle.targets.js.npm.tasks.KotlinNpmInstallTask ). configureEach {
392
+ args. add(" --ignore-engines" )
393
+ }
Original file line number Diff line number Diff line change 5
5
# Kotlin
6
6
version =1.7.2-SNAPSHOT
7
7
group =org.jetbrains.kotlinx
8
- kotlin_version =1.9.20-Beta
8
+ kotlin_version =1.9.20-Beta2
9
9
10
10
# Dependencies
11
11
junit_version =4.12
Original file line number Diff line number Diff line change @@ -179,3 +179,8 @@ compileKotlin {
179
179
jvmTarget = " 1.8"
180
180
}
181
181
}
182
+
183
+ // Drop this when node js version become stable
184
+ tasks. withType(org.jetbrains.kotlin.gradle.targets.js.npm.tasks.KotlinNpmInstallTask . class). configureEach {
185
+ it. args. add(" --ignore-engines" )
186
+ }
Original file line number Diff line number Diff line change 1
- kotlin_version =1.9.20-Beta
1
+ kotlin_version =1.9.20-Beta2
2
2
coroutines_version =1.7.2-SNAPSHOT
3
3
asm_version =9.3
4
4
Original file line number Diff line number Diff line change @@ -60,9 +60,11 @@ kotlin {
60
60
}
61
61
}
62
62
63
- // Drop this configuration when the Node.JS version in KGP is at least 20.2.0
63
+ // Drop this configuration when the Node.JS version in KGP will support wasm gc milestone 4
64
64
// check it here:
65
65
// https://github.com/JetBrains/kotlin/blob/master/libraries/tools/kotlin-gradle-plugin/src/common/kotlin/org/jetbrains/kotlin/gradle/targets/js/nodejs/NodeJsRootExtension.kt
66
66
rootProject. extensions. findByType(org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootExtension . class). with {
67
- it. nodeVersion = " 20.2.0"
67
+ // canary nodejs that supports recent Wasm GC changes
68
+ it. nodeVersion = " 21.0.0-v8-canary202309167e82ab1fa2"
69
+ it. nodeDownloadBaseUrl = " https://nodejs.org/download/v8-canary"
68
70
}
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ kotlin {
28
28
}
29
29
}
30
30
31
- wasm {
31
+ wasmJs {
32
32
nodejs {
33
33
testTask {
34
34
filter.apply {
You can’t perform that action at this time.
0 commit comments