java.lang.Comparable<Task>, org.gradle.api.internal.DynamicObjectAware, org.gradle.api.internal.IConventionAware, org.gradle.api.internal.TaskInternal, ExtensionAware, Task, Configurable<Task>@DisableCachingByDefault(because="Gradle would require more information to cache this task") public class AntTarget extends org.gradle.api.internal.ConventionTask
Task.NamerTASK_ACTION, TASK_CONSTRUCTOR_ARGS, 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.
|
conventionMapping, conventionMapping, getConventionMappingcompareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getDependsOn, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOutputs, getPath, getProject, getShouldRunAfter, getState, getTaskDependencies, getTemporaryDir, getTimeout, hasProperty, mustRunAfter, onlyIf, onlyIf, onlyIf, property, setActions, setDependsOn, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesServiceappendParallelSafeAction, doNotTrackState, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getLifecycleDependencies, getOnlyIf, getReasonNotToTrackState, getReasonTaskIsIncompatibleWithConfigurationCache, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isCompatibleWithConfigurationCache, isEnabled, isHasCustomActions, notCompatibleWithConfigurationCache, prependParallelSafeAction, setImpliesSubProjectsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdoNotTrackState, getConvention, notCompatibleWithConfigurationCacheprotected 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 interface TaskgetDescription in class DefaultTaskpublic void setDescription(java.lang.String description)
gradle tasks is called.setDescription in interface TasksetDescription in class DefaultTaskdescription - The description of the task. Might be null.