ForkOptions

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

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
@get:Nullable
open var javaHome: File

Functions

Link copied to clipboard
Returns the full set of arguments to use to launch the JVM for the compiler process.
Link copied to clipboard
Returns the compiler executable to be used.
Link copied to clipboard
Returns any additional JVM arguments for the compiler process.
Link copied to clipboard
Returns any additional JVM argument providers for the compiler process.
Link copied to clipboard
Returns the initial heap size for the compiler process.
Link copied to clipboard
Returns the maximum heap size for the compiler process.
Link copied to clipboard
Returns the directory used for temporary files that may be created to pass command line arguments to the compiler process.
Link copied to clipboard
open fun setExecutable(@Nullable executable: @Nullable String)
Sets the compiler executable to be used.
Link copied to clipboard
open fun setJvmArgs(@Nullable jvmArgs: @Nullable List<String>)
Sets any additional JVM arguments for the compiler process.
Link copied to clipboard
open fun setMemoryInitialSize(memoryInitialSize: String)
Sets the initial heap size for the compiler process.
Link copied to clipboard
open fun setMemoryMaximumSize(memoryMaximumSize: String)
Sets the maximum heap size for the compiler process.
Link copied to clipboard
open fun setTempDir(@Nullable tempDir: @Nullable String)
Sets the directory used for temporary files that may be created to pass command line arguments to the compiler process.