public class AntTarget
extends org.gradle.api.internal.ConventionTask
Task.Namer
TASK_ACTION, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE
Constructor | Description |
---|---|
AntTarget() |
Modifier and Type | Method | Description |
---|---|---|
protected void |
executeAntTarget() |
|
java.io.File |
getBaseDir() |
Returns the Ant project base directory to use when executing the target.
|
java.lang.String |
getDescription() |
Returns the description of this task.
|
org.apache.tools.ant.Target |
getTarget() |
Returns the Ant target to execute.
|
void |
setBaseDir(java.io.File baseDir) |
Sets the Ant project base directory to use when executing the target.
|
void |
setDescription(java.lang.String description) |
Sets a description for this task.
|
void |
setTarget(org.apache.tools.ant.Target target) |
Sets the Ant target to execute.
|
addValidator, appendParallelSafeAction, compareTo, configure, deleteAllActions, dependsOn, dependsOnTaskDidWork, doFirst, doFirst, doLast, doLast, execute, finalizedBy, getActionClassLoaders, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDidWork, getEnabled, getExecuter, getExtensions, getFinalizedBy, getGroup, getIdentityPath, 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, setDidWork, setEnabled, setExecuter, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, toString
protected void executeAntTarget()
@Internal public org.apache.tools.ant.Target getTarget()
public void setTarget(org.apache.tools.ant.Target target)
@Internal public java.io.File getBaseDir()
public void setBaseDir(java.io.File baseDir)
@Internal public java.lang.String getDescription()
getDescription
in class org.gradle.api.internal.AbstractTask
public void setDescription(java.lang.String description)
gradle tasks
is called.setDescription
in class org.gradle.api.internal.AbstractTask
description
- The description of the task. Might be null.