gradle
8.5

# setJvmArguments

abstract fun setJvmArguments(@Nullable jvmArguments: Array<String>): LongRunningOperation(source)

Specifies the Java VM arguments to use for this operation.

org.gradle.tooling.model.build.BuildEnvironment 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.

#### Return

this

#### Parameters

jvmArguments

to use for the Gradle process

abstract fun setJvmArguments(@Nullable jvmArguments: Iterable<String>): LongRunningOperation(source)

Specifies the Java VM arguments to use for this operation.

org.gradle.tooling.model.build.BuildEnvironment 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.

#### Return

this

#### Parameters

jvmArguments

to use for the Gradle process