public class NpmExecSpec extends org.ysb33r.grolifant.api.core.runnable.AbstractCommandExecSpec<NpmExecSpec>
npm-cli.js
For simplicity Gradle executes npm-cli.js directly rather
than use yet another indirection of the npm shell script.
| Constructor and Description |
|---|
NpmExecSpec(org.gradle.api.provider.Provider<java.io.File> nodeLocation,
org.gradle.api.provider.Provider<java.io.File> npmCliJsLocation,
org.ysb33r.grolifant.api.core.ProjectOperations projectOperations)
Construct class and attach it to specific project.
|
cmd, cmdaddCommandLineProcessor, copyTo, entrypoint, entrypoint, getCommandLineProcessors, process, process, runnerSpec, runnerSpecpublic NpmExecSpec(org.gradle.api.provider.Provider<java.io.File> nodeLocation,
org.gradle.api.provider.Provider<java.io.File> npmCliJsLocation,
org.ysb33r.grolifant.api.core.ProjectOperations projectOperations)
nodeLocation - Provider to the location of node executable.npmCliJsLocation - Provider to location of npm-cli.js.projectOperations - Project this exec spec is attached.