Package org.gradle.api.tasks.compile
Class BaseForkOptions
java.lang.Object
org.gradle.api.tasks.compile.AbstractOptions
org.gradle.api.tasks.compile.BaseForkOptions
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- ProviderAwareCompilerDaemonForkOptions
Fork options for compilation. Only take effect if 
fork
 is true.- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionReturns any additional JVM arguments for the compiler process.Returns the initial heap size for the compiler process.Returns the maximum heap size for the compiler process.voidsetJvmArgs(List<String> jvmArgs) Sets any additional JVM arguments for the compiler process.voidsetMemoryInitialSize(String memoryInitialSize) Sets the initial heap size for the compiler process.voidsetMemoryMaximumSize(String memoryMaximumSize) Sets the maximum heap size for the compiler process.Methods inherited from class org.gradle.api.tasks.compile.AbstractOptionsdefine
- 
Constructor Details- 
BaseForkOptionspublic BaseForkOptions()
 
- 
- 
Method Details- 
getMemoryInitialSizeReturns the initial heap size for the compiler process. Defaults tonull, in which case the JVM's default will be used.
- 
setMemoryInitialSizeSets the initial heap size for the compiler process. Defaults tonull, in which case the JVM's default will be used.
- 
getMemoryMaximumSizeReturns the maximum heap size for the compiler process. Defaults tonull, in which case the JVM's default will be used.
- 
setMemoryMaximumSizeSets the maximum heap size for the compiler process. Defaults tonull, in which case the JVM's default will be used.
- 
getJvmArgsReturns any additional JVM arguments for the compiler process. Defaults to the empty list.
- 
setJvmArgsSets any additional JVM arguments for the compiler process. Defaults to the empty list. Empty or null arguments are filtered out because they cause JVM Launch to fail.
 
-