[Build] Bump gradle-node-plugin version to 3.0.1 to support conf cache

:kotlin-test:kotlin-test-js:kotlin-test-js-it will still have old version as integration test run logic cannot be fully refactored to the new version (approximately till 3.1)
Relates to #KT-44611
This commit is contained in:
Alexander Likhachev
2021-02-09 21:46:54 +03:00
parent 89a78a02d4
commit 0e4e90dc13
5 changed files with 46 additions and 45 deletions
+4 -4
View File
@@ -1,5 +1,5 @@
plugins {
id "com.github.node-gradle.node" version "2.2.0"
id "com.github.node-gradle.node" version "3.0.1"
}
description = 'Kotlin Standard Library for JS'
@@ -325,7 +325,7 @@ artifacts {
node {
download = true
version = '12.18.0'
nodeModulesDir = buildDir
nodeProjectDir = buildDir
}
// Otherwise Node ignores nodeModulesDir
@@ -352,8 +352,8 @@ task runMocha(type: NodeTask, dependsOn: [testClasses, installMocha, ':kotlin-te
args = ['--reporter', 'min']
}
args += ['--timeout', '10s']
args += [jsTestOutputFile, kotlinTestJsTestOutputFile]
args = args.get() + ['--timeout', '10s']
args = args.get() + [jsTestOutputFile, kotlinTestJsTestOutputFile]
execOverrides {
it.ignoreExitValue = rootProject.ignoreTestFailures