For AI agents: the documentation index is at https://docs.gradle.org/llms.txt. Request any page with the header Accept: text/markdown to get Markdown. User manual pages are also available as Markdown by replacing .html with .md in the URL.

getAnt

abstract fun getAnt(): AntBuilder(source)

Deprecated

This method will be removed in Gradle 10.

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

Return

The AntBuilder

Since

0.7