gradle-node-plugin icon indicating copy to clipboard operation
gradle-node-plugin copied to clipboard

Scope yarn and npm settings inside node closure

Open srs opened this issue 9 years ago • 1 comments

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 = ...
  }
}

srs avatar Nov 29 '16 18:11 srs

Should also probably do the same for grunt and gulp.

node {
  ...
  grunt {
    enabled = true
    ...
  }

  gulp {
    enabled = true
  }
}

srs avatar Jan 16 '17 07:01 srs