api / org.gradle.api.tasks.scala / ScalaForkOptions

ScalaForkOptions

open class ScalaForkOptions : BaseForkOptions

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

Constructors

<init>

ScalaForkOptions()

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

Inherited Functions

getJvmArgs

open fun getJvmArgs(): MutableList<String>

Returns any additional JVM arguments for the compiler process. Defaults to the empty list.

getMemoryInitialSize

open fun getMemoryInitialSize(): String

Returns the initial heap size for the compiler process. Defaults to null, in which case the JVM's default will be used.

getMemoryMaximumSize

open fun getMemoryMaximumSize(): String

Returns the maximum heap size for the compiler process. Defaults to null, in which case the JVM's default will be used.

setJvmArgs

open fun setJvmArgs(jvmArgs: MutableList<String>): Unit

Sets any additional JVM arguments for the compiler process. Defaults to the empty list.

setMemoryInitialSize

open fun setMemoryInitialSize(memoryInitialSize: String): Unit

Sets the initial heap size for the compiler process. Defaults to null, in which case the JVM's default will be used.

setMemoryMaximumSize

open fun setMemoryMaximumSize(memoryMaximumSize: String): Unit

Sets the maximum heap size for the compiler process. Defaults to null, in which case the JVM's default will be used.