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.

addJvmArguments

abstract fun addJvmArguments(jvmArguments: Array<String>): T(source)
abstract fun addJvmArguments(jvmArguments: Iterable<String>): T(source)

Appends Java VM arguments to the existing list.

The jvm argument set by this method is independent of arguments set by { setJvmArguments}} methods. The daemon JVM arguments list will always have the arguments from the { setJvmArguments}} at the beginning of the list, and then have the { addJvmArguments}} configuration appended.

Since

5.0