Package org.gradle.api.tasks.compile
Class ProviderAwareCompilerDaemonForkOptions
java.lang.Object
org.gradle.api.tasks.compile.BaseForkOptions
org.gradle.api.tasks.compile.ProviderAwareCompilerDaemonForkOptions
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ForkOptions,GroovyForkOptions,ScalaForkOptions
Fork options for compilation that can accept user-defined
CommandLineArgumentProvider objects.
Only take effect if fork is true.- Since:
- 7.1
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the full set of arguments to use to launch the JVM for the compiler process.abstract ListProperty<CommandLineArgumentProvider> Returns any additional JVM argument providers for the compiler process.Methods inherited from class org.gradle.api.tasks.compile.BaseForkOptions
getJvmArgs, getMemoryInitialSize, getMemoryMaximumSize, setJvmArgs, setMemoryInitialSize, setMemoryMaximumSize
-
Constructor Details
-
ProviderAwareCompilerDaemonForkOptions
public ProviderAwareCompilerDaemonForkOptions()
-
-
Method Details
-
getJvmArgumentProviders
Returns any additional JVM argument providers for the compiler process. -
getAllJvmArgs
Returns the full set of arguments to use to launch the JVM for the compiler process. This includes arguments to define system properties, the minimum/maximum heap size, and the bootstrap classpath.- Returns:
- The provider of arguments. Returns an empty provider if there are no arguments.
-