From 92d4c1c2752577cfa323c21845b293bb306cdc9f Mon Sep 17 00:00:00 2001 From: Zalim Bashorov Date: Tue, 3 May 2022 20:53:03 +0200 Subject: [PATCH] [Build, JS] Remove redundant setting `nodeVersion` to 16.13.0 Node.js support already use 16.13.0. Probably it's useful to use default version for dogfooding propose, Likely it's cover small cases, but at least could help to catch some platform dependent issues. If we need some specific (likely newer) version of node somewhere in the project it's better to specify it for specific parts and consider updating version of node inside gradle support and revert a change. --- build.gradle.kts | 1 - 1 file changed, 1 deletion(-) diff --git a/build.gradle.kts b/build.gradle.kts index b22cc3fb8c1..0be32f6d70d 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1024,7 +1024,6 @@ if (disableVerificationTasks) { plugins.withType(org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootPlugin::class) { extensions.configure(org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootExtension::class.java) { - nodeVersion = "16.13.0" npmInstallTaskProvider?.configure { args += listOf("--network-concurrency", "1", "--mutex", "network") } ?: error("kotlinNpmInstall task should exist inside NodeJsRootExtension")