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.

setAllJvmArgs

open fun setAllJvmArgs(arguments: List<String>)(source)
open fun setAllJvmArgs(arguments: Iterable<out Any>)(source)

Sets the full set of arguments to use to launch the JVM for the process. Overwrites any previously set system properties, minimum/maximum heap size, assertions, and bootstrap classpath.