|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.gradle.api.internal.ConventionTask org.gradle.api.tasks.ant.AntTarget
public class AntTarget extends ConventionTask
A task which executes an Ant target.
Constructor Summary | |
AntTarget()
|
Method Summary | |
---|---|
protected void
|
executeAntTarget()
|
File
|
getBaseDir()
Returns the Ant project base directory to use when executing the target. |
String
|
getDescription()
{@inheritDoc} |
org.apache.tools.ant.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(String description)
{@inheritDoc} |
void
|
setTarget(org.apache.tools.ant.Target target)
Sets the Ant target to execute. |
Constructor Detail |
---|
public AntTarget()
Method Detail |
---|
@TaskAction protected void executeAntTarget()
public File getBaseDir()
@Override public String getDescription()
public org.apache.tools.ant.Target getTarget()
public void setBaseDir(File baseDir)
@Override public void setDescription(String description)
public void setTarget(org.apache.tools.ant.Target target)
Gradle API 1.12