api / org.gradle.process / JavaForkOptions / setAllJvmArgs

setAllJvmArgs

abstract fun setAllJvmArgs(arguments: MutableList<String>): Unit

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.

Parameters

arguments - The arguments. Must not be null.

Since
4.0

abstract fun setAllJvmArgs(arguments: MutableIterable<*>): Unit

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.

Parameters

arguments - The arguments. Must not be null.