update node version

This commit is contained in:
Volker Berlin 2020-04-24 20:54:56 +02:00
parent e533c97d0f
commit af50221b44

View File

@ -1,5 +1,5 @@
plugins {
id "com.moowork.node" version "1.2.0"
id "com.github.node-gradle.node" version "2.2.3"
id 'com.github.kt3k.coveralls' version '2.8.2' // Coverage
id "com.jfrog.bintray" version "1.8.4"
}
@ -82,7 +82,7 @@ artifacts {
}
node {
version = '13.12.0'
version = '14.0.0'
// version = '+'
download = true
}
@ -90,7 +90,8 @@ node {
task nodeVersion(type: NodeTask) {
test.dependsOn it
options = ['-v']
script = file('scriptDoesNotExists.js')
script = file("$buildDir/tmp/scriptDoesNotExists.js")
script.text = ''
doLast {
if( node.download ) {
def nodeDir = nodeSetup.getNodeDir() // dir is only valid if downloaded