api / org.gradle.api.tasks.ant / AntTarget

AntTarget

open class AntTarget : ConventionTask

A task which executes an Ant target.

Constructors

<init>

AntTarget()

A task which executes an Ant target.

Functions

getBaseDir

open fun getBaseDir(): File

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

getDescription

open fun getDescription(): String

{@inheritDoc}

getTarget

open fun getTarget(): Target

Returns the Ant target to execute.

setBaseDir

open fun setBaseDir(baseDir: File): Unit

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

setDescription

open fun setDescription(description: String): Unit

{@inheritDoc}

setTarget

open fun setTarget(target: Target): Unit

Sets the Ant target to execute.