# setJvmArguments

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

Specifies the Java VM arguments to use for this operation.

model contains information such as Java or Gradle environment. If you want to get hold of this information you can ask tooling API to build this model.

If not configured, null, or an empty array is passed, then the reasonable default will be used.

The jvm argument set by this method is independent of arguments set by { addJvmArguments}} 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

1.0-milestone-9

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

Specifies the Java VM arguments to use for this operation.

model contains information such as Java or Gradle environment. If you want to get hold of this information you can ask tooling API to build this model.

If not configured, null, or an empty list is passed, then the reasonable default will be used.

The jvm argument set by this method is independent of arguments set by { addJvmArguments}} 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

2.6