api / org.gradle.api / Task / getAnt

getAnt

@Internal abstract fun getAnt(): AntBuilder

Returns the AntBuilder for this task. You can use this in your build file to execute ant tasks.

Return
The AntBuilder