@groovy.transform.CompileStatic class GulpTask extends AbstractCmdlineTask
Ability to run a Gulp task.
| Constructor and description |
|---|
GulpTask
() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
java.util.List<String> |
getFinalArgs() |
|
protected Provider<String> |
getGulpExecutablePath() |
|
String |
getTarget()The task to run. |
|
void |
setTarget(String taskName)Set the Gulp task to run. |
| Methods inherited from class | Name |
|---|---|
class AbstractCmdlineTask |
addArgs, exec, getFinalArgs, getNodejs, getNpm, setArgs, setArgsLine, setCommandProvider, setConsoleOutput, setEnvironmentProvider, setWorkingDir |
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 needs 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