Groovy Documentation

org.gradle.api.tasks.ant
Class AntTarget

java.lang.Object
  org.gradle.api.internal.AbstractTask
      org.gradle.api.DefaultTask
          org.gradle.api.internal.ConventionTask
              org.gradle.api.tasks.ant.AntTarget

class AntTarget
extends ConventionTask

A task which executes an Ant target.


Constructor Summary
AntTarget(Project project, java.lang.String name)

 
Method Summary
File getBaseDir()

Returns the Ant project base directory to use when executing the target.

java.lang.String getDescription()

{

Target getTarget()

Returns the Ant target to execute.

void setBaseDir(File baseDir)

Sets the Ant project base directory to use when executing the target.

void setDescription(java.lang.String description)

{

void setTarget(Target target)

Sets the Ant target to execute.

 
Methods inherited from class ConventionTask
conv, conventionMapping, conventionMapping, conventionProperty, getConventionAwareHelper, getConventionMapping, setConventionAwareHelper, setConventionMapping
 
Methods inherited from class DefaultTask
leftShift, methodMissing, propertyMissing
 
Methods inherited from class AbstractTask
captureStandardOutput, compareTo, defineProperty, deleteAllActions, dependsOn, dependsOnTaskDidWork, disableStandardOutputCapture, doFirst, doLast, equals, execute, getActions, getAdditionalProperties, getAnt, getConvention, getDependsOn, getDescription, getDidWork, getDynamicObjectHelper, getEnabled, getExecuted, getLogger, getName, getPath, getProject, getSkipProperties, getStandardOutputCapture, getTaskDependencies, hasProperty, hashCode, isDidWork, isEnabled, isExecuted, onlyIf, onlyIf, property, setActions, setAdditionalProperties, setDependsOn, setDescription, setDidWork, setEnabled, setExecuted, setName, setProject, setProperty, setSkipProperties, setStandardOutputCapture, toString
 
Methods inherited from class java.lang.Object
hashCode, getClass, equals, toString, wait, wait, wait, notify, notifyAll
 

Constructor Detail

AntTarget

public AntTarget(Project project, java.lang.String name)


 
Method Detail

getBaseDir

public File getBaseDir()
Returns the Ant project base directory to use when executing the target.


getDescription

@Override
public java.lang.String getDescription()
{@inheritDoc}


getTarget

public Target getTarget()
Returns the Ant target to execute.


setBaseDir

public void setBaseDir(File baseDir)
Sets the Ant project base directory to use when executing the target.


setDescription

@Override
public void setDescription(java.lang.String description)
{@inheritDoc}


setTarget

public void setTarget(Target target)
Sets the Ant target to execute.


 

Groovy Documentation