Using the gradle node plugin com.github.node-gradle.node, how do I pass a command line option to the NpmInstallTask?
Background: For security reasons, I want to pass "--ignore-scripts".
Using the gradle node plugin com.github.node-gradle.node, how do I pass a command line option to the NpmInstallTask?
Background: For security reasons, I want to pass "--ignore-scripts".
You can use following snippet (as documented here):
npmInstall.args = ['--ignore-scripts']