gradle-node-plugin
gradle-node-plugin copied to clipboard
Scope yarn and npm settings inside node closure
Scope yarn and npm settings inside node closure. Like this:
node {
version = 'x.x.x'
download = true
npm {
version = 'x.x.x'
workDir = ...
}
yarn {
version = 'x.x.x'
workDir = ...
}
}
Should also probably do the same for grunt and gulp.
node {
...
grunt {
enabled = true
...
}
gulp {
enabled = true
}
}