Ability to run a Gulp task.
If the project defaults for nodejs, npm and gulp is not to requirement, each
of those can be configure via task extensions by the same name.
| Type | Name and description |
|---|---|
java.lang.String |
target |
| Constructor and description |
|---|
GulpTask
() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
void |
exec() |
|
java.io.File |
getGulpFile()The gulpfile.js that will be used. |
|
java.lang.String |
getGulpPath()The absolute path to gulpfile.js that will be used. |
|
java.lang.String |
getTarget()The task to run. |
|
void |
setTarget(java.lang.String taskName)Set the Gulp task to run. |
| Methods inherited from class | Name |
|---|---|
class AbstractNodeBaseTask |
createExecSpec, environment, getEnvironment, getNodeExtension, getNpmExecutor, getNpmExtension, getProjectOperations, runExecSpec, setEnvironment |
The gulpfile.js that will be used.
The absolute path to gulpfile.js that will be used.
The task to run.
target is used as a keyword as opposed to task as the latter may clash
with the common DSL keyword already in used in Gradle.
null is the default task neds to be runSet the Gulp task to run.
target is used as a keyword as opposed to task as the latter may clash
with the common DSL keyword already in used in Gradle.
Groovy Documentation