Base specification for running an NPM script via 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 |
|---|
NpmScriptExecSpec
(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. |
| Methods inherited from class | Name |
|---|---|
class org.ysb33r.grolifant.api.core.runnable.AbstractExecSpec |
org.ysb33r.grolifant.api.core.runnable.AbstractExecSpec#entrypoint(org.gradle.api.Action), org.ysb33r.grolifant.api.core.runnable.AbstractExecSpec#entrypoint(groovy.lang.Closure), org.ysb33r.grolifant.api.core.runnable.AbstractExecSpec#runnerSpec(org.gradle.api.Action), org.ysb33r.grolifant.api.core.runnable.AbstractExecSpec#runnerSpec(groovy.lang.Closure), org.ysb33r.grolifant.api.core.runnable.AbstractExecSpec#process(groovy.lang.Closure), org.ysb33r.grolifant.api.core.runnable.AbstractExecSpec#process(org.gradle.api.Action), org.ysb33r.grolifant.api.core.runnable.AbstractExecSpec#copyTo(org.gradle.process.ExecSpec), org.ysb33r.grolifant.api.core.runnable.AbstractExecSpec#wait(long, int), org.ysb33r.grolifant.api.core.runnable.AbstractExecSpec#wait(long), org.ysb33r.grolifant.api.core.runnable.AbstractExecSpec#wait(), org.ysb33r.grolifant.api.core.runnable.AbstractExecSpec#equals(java.lang.Object), org.ysb33r.grolifant.api.core.runnable.AbstractExecSpec#toString(), org.ysb33r.grolifant.api.core.runnable.AbstractExecSpec#hashCode(), org.ysb33r.grolifant.api.core.runnable.AbstractExecSpec#getClass(), org.ysb33r.grolifant.api.core.runnable.AbstractExecSpec#notify(), org.ysb33r.grolifant.api.core.runnable.AbstractExecSpec#notifyAll() |
Construct class and attach it to specific project.
objectFactory - Gradle object factory.projectOperations - Project this exec spec is attached.Configures the script.
configurator - Configures the required script.Configures the script.
configurator - Configures the required script.