Package org.gradle.api.tasks.compile
Klasse ForkOptions
java.lang.Object
org.gradle.api.tasks.compile.AbstractOptions
org.gradle.api.tasks.compile.BaseForkOptions
org.gradle.api.tasks.compile.ProviderAwareCompilerDaemonForkOptions
org.gradle.api.tasks.compile.ForkOptions
- Alle implementierten Schnittstellen:
Serializable
Fork options for Java compilation. Only take effect if
CompileOptions.fork is true.- Siehe auch:
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturns the compiler executable to be used.Returns the Java home which contains the compiler to use.Returns the directory used for temporary files that may be created to pass command line arguments to the compiler process.voidsetExecutable(String executable) Sets the compiler executable to be used.voidsetJavaHome(File javaHome) Sets the Java home which contains the compiler to use.voidsetTempDir(String tempDir) Sets the directory used for temporary files that may be created to pass command line arguments to the compiler process.Von Klasse geerbte Methoden org.gradle.api.tasks.compile.ProviderAwareCompilerDaemonForkOptions
getAllJvmArgs, getJvmArgumentProvidersVon Klasse geerbte Methoden org.gradle.api.tasks.compile.BaseForkOptions
getJvmArgs, getMemoryInitialSize, getMemoryMaximumSize, setJvmArgs, setMemoryInitialSize, setMemoryMaximumSizeVon Klasse geerbte Methoden org.gradle.api.tasks.compile.AbstractOptions
define
-
Konstruktordetails
-
ForkOptions
public ForkOptions()
-
-
Methodendetails
-
getExecutable
Returns the compiler executable to be used.Only takes effect if
CompileOptions.forkistrue. Defaults tonull.Setting the executable disables task output caching.
-
setExecutable
Sets the compiler executable to be used.Only takes effect if
CompileOptions.forkistrue. Defaults tonull.Setting the executable disables task output caching.
-
getJavaHome
Returns the Java home which contains the compiler to use.Only takes effect if
CompileOptions.forkistrue. Defaults tonull.- Seit:
- 3.5
-
setJavaHome
Sets the Java home which contains the compiler to use.Only takes effect if
CompileOptions.forkistrue. Defaults tonull.- Seit:
- 3.5
-
getTempDir
Returns the directory used for temporary files that may be created to pass command line arguments to the compiler process. Defaults tonull, in which case the directory will be chosen automatically. -
setTempDir
Sets the directory used for temporary files that may be created to pass command line arguments to the compiler process. Defaults tonull, in which case the directory will be chosen automatically.
-