Class BaseForkOptions
java.lang.Object
org.gradle.api.tasks.compile.AbstractOptions
org.gradle.api.tasks.compile.BaseForkOptions
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ForkOptions, GroovyForkOptions, ScalaForkOptions
Fork options for compilation. Only take effect if
fork
is true.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanexcludeFromAntProperties(String fieldName) Returns 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 AbstractOptions
define, getAntPropertyName, getAntPropertyValue, optionMap
-
Constructor Details
-
BaseForkOptions
public BaseForkOptions()
-
-
Method Details
-
getMemoryInitialSize
-
setMemoryInitialSize
Sets the initial heap size for the compiler process. Defaults tonull, in which case the JVM's default will be used. -
getMemoryMaximumSize
-
setMemoryMaximumSize
Sets the maximum heap size for the compiler process. Defaults tonull, in which case the JVM's default will be used. -
getJvmArgs
-
setJvmArgs
-
excludeFromAntProperties
- Overrides:
excludeFromAntPropertiesin classAbstractOptions
-