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.

addArguments

abstract fun addArguments(arguments: Array<String>): T(source)
abstract fun addArguments(arguments: Iterable<String>): T(source)

Appends new command line arguments to the existing list. Useful mostly for running tasks via .

Since

5.0