Package org.gradle.api.tasks.compile
Klasse BaseForkOptions
java.lang.Object
org.gradle.api.tasks.compile.AbstractOptions
org.gradle.api.tasks.compile.BaseForkOptions
- Alle implementierten Schnittstellen:
Serializable
- Bekannte direkte Unterklassen:
ProviderAwareCompilerDaemonForkOptions
Fork options for compilation. Only take effect if
fork
is true.- Siehe auch:
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturns 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.Von Klasse geerbte Methoden org.gradle.api.tasks.compile.AbstractOptions
define
-
Konstruktordetails
-
BaseForkOptions
public BaseForkOptions()
-
-
Methodendetails
-
getMemoryInitialSize
Returns the initial heap size for the compiler process. Defaults tonull, in which case the JVM's default will be used. -
setMemoryInitialSize
Sets the initial heap size for the compiler process. Defaults tonull, in which case the JVM's default will be used. -
getMemoryMaximumSize
Returns the maximum heap size for the compiler process. Defaults tonull, in which case the JVM's default will be used. -
setMemoryMaximumSize
Sets the maximum heap size for the compiler process. Defaults tonull, in which case the JVM's default will be used. -
getJvmArgs
Returns any additional JVM arguments for the compiler process. Defaults to the empty list. -
setJvmArgs
Sets 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.
-