# BaseForkOptions

abstract class BaseForkOptions : Serializable(source)

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

#### Inheritors

ProviderAwareCompilerDaemonForkOptions

## Constructors

BaseForkOptions
Link copied to clipboard
constructor()

## Functions

getJvmArgs
Link copied to clipboard
@Optional
@Input
abstract fun getJvmArgs(): ListProperty<String>
Returns any additional JVM arguments for the compiler process.
getMemoryInitialSize
Link copied to clipboard
@Internal
abstract fun getMemoryInitialSize(): Property<String>
Returns the initial heap size for the compiler process.
getMemoryMaximumSize
Link copied to clipboard
@Internal
abstract fun getMemoryMaximumSize(): Property<String>
Returns the maximum heap size for the compiler process.
setJvmArgs
Link copied to clipboard
open fun setJvmArgs(@Nullable jvmArgs: @Nullable List<String>)
Sets any additional JVM arguments for the compiler process.
setMemoryInitialSize
Link copied to clipboard
open fun setMemoryInitialSize(memoryInitialSize: String)
Sets the initial heap size for the compiler process.
setMemoryMaximumSize
Link copied to clipboard
open fun setMemoryMaximumSize(memoryMaximumSize: String)
Sets the maximum heap size for the compiler process.