# ScalaForkOptions

abstract class ScalaForkOptions : ProviderAwareCompilerDaemonForkOptions(source)

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

## Constructors

ScalaForkOptions
Link copied to clipboard
constructor()

## Functions

getAllJvmArgs
Link copied to clipboard
@Internal
open fun getAllJvmArgs(): Provider<List<String>>
Returns the full set of arguments to use to launch the JVM for the compiler process.
getJvmArgs
Link copied to clipboard
@Optional
@Input
abstract fun getJvmArgs(): ListProperty<String>
Returns any additional JVM arguments for the compiler process.
getJvmArgumentProviders
Link copied to clipboard
@Optional
abstract fun getJvmArgumentProviders(): ListProperty<CommandLineArgumentProvider>
Returns any additional JVM argument providers 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.