public class CmdLineTask
extends org.gradle.api.DefaultTask
Constructor and Description |
---|
CmdLineTask() |
Modifier and Type | Method and Description |
---|---|
void |
cmd(java.lang.Object directory,
java.lang.String cmd)
Sets the working directory to the given dir, then executes the given command.
|
void |
cmd(java.lang.String cmd)
Executes the given command.
|
void |
copy(java.lang.Object src,
java.lang.Object dst)
Removes the given file or directory.
|
void |
mv(java.lang.Object src,
java.lang.Object dst)
Removes the given file or directory.
|
void |
performActions() |
void |
rm(java.lang.Object fileOrDir)
Removes the given file or directory.
|
void |
run(com.diffplug.common.base.Throwing.Runnable action)
Removes the given file or directory.
|
addValidator, appendParallelSafeAction, compareTo, configure, deleteAllActions, dependsOn, dependsOnTaskDidWork, doFirst, doFirst, doLast, doLast, execute, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDidWork, getEnabled, getExecuter, getExtensions, getFinalizedBy, getGroup, getImpliesSubProjects, getInputs, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTemporaryDir, getTemporaryDirFactory, getValidators, hasProperty, injectIntoNewInstance, isEnabled, isHasCustomActions, leftShift, mustRunAfter, onlyIf, onlyIf, prependParallelSafeAction, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setExecuter, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setName, setOnlyIf, setOnlyIf, setProject, setProperty, setShouldRunAfter, shouldRunAfter, toString
public void cmd(java.lang.String cmd)
public void cmd(java.lang.Object directory, java.lang.String cmd)
public void rm(java.lang.Object fileOrDir)
public void copy(java.lang.Object src, java.lang.Object dst)
public void mv(java.lang.Object src, java.lang.Object dst)
public void run(com.diffplug.common.base.Throwing.Runnable action)
public void performActions() throws java.lang.Throwable
java.lang.Throwable