gradle
8.6

# GroovyForkOptions

abstract class GroovyForkOptions : ProviderAwareCompilerDaemonForkOptions(source)

Fork options for Groovy compilation. Only take effect if `GroovyCompileOptions.fork` is `true`.

## Constructors

GroovyForkOptions
Link copied to clipboard
constructor()

## Properties

jvmArgs
Link copied to clipboard
open var jvmArgs: List<String>
jvmArgumentProviders
Link copied to clipboard
val jvmArgumentProviders: List<CommandLineArgumentProvider>
memoryInitialSize
Link copied to clipboard
open var memoryInitialSize: String
memoryMaximumSize
Link copied to clipboard
open var memoryMaximumSize: String

## Functions

define
Link copied to clipboard
open fun define(args: Map<String, Any>)
define
Link copied to clipboard
inline fun AbstractOptions.define(vararg args: Pair<String, Any?>)

Kotlin extension function for org.gradle.api.tasks.compile.AbstractOptions.define.

getAllJvmArgs
Link copied to clipboard
open fun getAllJvmArgs(): List<String>