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)
Constructs the execution specification.
|
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. |
| Modifier and Type | Method and Description |
|---|---|
org.ysb33r.grolifant5.api.core.executable.CommandEntryPoint |
getCmd()
Get direct access to the
CommandEntryPoint instance. |
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.@Internal public org.ysb33r.grolifant5.api.core.executable.CommandEntryPoint getCmd()
CommandEntryPoint instance.getCmd in interface org.ysb33r.grolifant5.api.core.runnable.ExecutableCommand<NpmExecSpec>getCmd in class org.ysb33r.grolifant5.api.core.runnable.AbstractCommandExecSpec<NpmExecSpec>CommandEntryPoint.