abstract fun ant(configureClosure: Closure<Any>): AntBuilder
Executes the given closure against the AntBuilder
for this project. You can use this in your build file to execute ant tasks. The AntBuild
is passed to the closure as the closure's delegate. See example in javadoc for #getAnt()
configureClosure
- The closure to execute against the AntBuilder
.
Return
The AntBuilder
. Never returns null.
abstract fun ant(configureAction: Action<in AntBuilder>): AntBuilder
Executes the given action against the AntBuilder
for this project. You can use this in your build file to execute ant tasks. See example in javadoc for #getAnt()
configureAction
- The action to execute against the AntBuilder
.
Return
The AntBuilder
. Never returns null.
Since
3.5