public class GruntTask extends BaseNodeTask<GruntTask,GruntTaskProperties>
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_GRUNT_CLI_EXECUTABLE |
environmentVariables, nodeExecutable, workingSubdirectorydescription, taskEnabled| Constructor and Description |
|---|
GruntTask() |
| Modifier and Type | Method and Description |
|---|---|
protected GruntTaskProperties |
build() |
GruntTask |
gruntCliExecutable(String gruntCliExecutable)
Specify path to the Grunt command line interface (grunt-cli) executable for this task.
|
GruntTask |
gruntfile(String gruntfile)
Specify path to the gruntfile, relative to the build working directory.
|
GruntTask |
task(String task)
Grunt task to execute.
|
environmentVariables, nodeExecutable, workingSubdirectorydescription, enabledpublic static final String DEFAULT_GRUNT_CLI_EXECUTABLE
public GruntTask gruntCliExecutable(@NotNull String gruntCliExecutable)
Example: node_modules/grunt-cli/bin/grunt
public GruntTask task(@Nullable String task)
public GruntTask gruntfile(@Nullable String gruntfile)
@NotNull protected GruntTaskProperties build()
build in class Task<GruntTask,GruntTaskProperties>Copyright © 2018 Atlassian Software Systems Pty Ltd. All rights reserved.