gradle
8.2

# setJvmArguments

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

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

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