[Gradle, JS] Deprecate specific Node.js properties

^KT-62780 fixed
This commit is contained in:
Ilya Goncharov
2023-11-28 10:36:36 +00:00
committed by Space Team
parent 1805f322f8
commit 8c95665e27
5 changed files with 14 additions and 17 deletions
+2 -2
View File
@@ -1084,8 +1084,8 @@ val cacheRedirectorEnabled = findProperty("cacheRedirectorEnabled")?.toString()?
plugins.withType(org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootPlugin::class) {
extensions.configure(org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootExtension::class.java) {
// Node.js with canary v8 that supports recent Wasm GC changes
nodeVersion = "21.0.0-v8-canary20231019bd785be450"
nodeDownloadBaseUrl = if (cacheRedirectorEnabled)
version = "21.0.0-v8-canary20231019bd785be450"
downloadBaseUrl = if (cacheRedirectorEnabled)
"https://cache-redirector.jetbrains.com/nodejs.org/download/v8-canary"
else
"https://nodejs.org/download/v8-canary"