public class NpmExecSpec extends org.ysb33r.grolifant5.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.grolifant5.api.core.ConfigCacheSafeOperations ccso)
Construct class and attach it to specific project.
|
NpmExecSpec(org.gradle.api.provider.Provider<java.io.File> nodeLocation,
org.gradle.api.provider.Provider<java.io.File> npmCliJsLocation,
org.ysb33r.grolifant5.api.core.ProjectOperations projectOperations)
Deprecated.
Use method taking
ConfigCacheSafeOperations as parameter. |
cmd, cmdaddCommandLineProcessor, copyTo, entrypoint, entrypoint, getCommandLineProcessors, getEntrypoint, getProcess, getRunnerSpec, getTaskOperations, process, process, runnerSpec, runnerSpec, submitAsExec, submitAsExecpublic NpmExecSpec(org.gradle.api.provider.Provider<java.io.File> nodeLocation,
org.gradle.api.provider.Provider<java.io.File> npmCliJsLocation,
org.ysb33r.grolifant5.api.core.ConfigCacheSafeOperations ccso)
nodeLocation - Provider to the location of node executable.npmCliJsLocation - Provider to location of npm-cli.js.ccso - Project this exec spec is attached.@Deprecated
public NpmExecSpec(org.gradle.api.provider.Provider<java.io.File> nodeLocation,
org.gradle.api.provider.Provider<java.io.File> npmCliJsLocation,
org.ysb33r.grolifant5.api.core.ProjectOperations projectOperations)
ConfigCacheSafeOperations as parameter.nodeLocation - Provider to the location of node executable.npmCliJsLocation - Provider to location of npm-cli.js.projectOperations - Project this exec spec is attached.