api / org.gradle.tooling / LongRunningOperation / setJvmArguments

setJvmArguments

abstract fun setJvmArguments(vararg jvmArguments: 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.

Parameters

jvmArguments - to use for the Gradle process

Return
this

Since
1.0-milestone-8

abstract fun setJvmArguments(jvmArguments: MutableIterable<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.

Parameters

jvmArguments - to use for the Gradle process

Return
this

Since
2.6