api / org.gradle.process / JavaForkOptions / setJvmArgs

setJvmArgs

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

Sets the extra arguments to use to launch the JVM for the process. System properties and minimum/maximum heap size are updated.

Parameters

arguments - The arguments. Must not be null.

Since
4.0

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

Sets the extra arguments to use to launch the JVM for the process. System properties and minimum/maximum heap size are updated.

Parameters

arguments - The arguments. Must not be null.