A specification to something that can be executed on the JVM and which be populated with various fork options for Java and in addition, can then be used to copy to other methods in the Gradle API that provides a JavaForkOptions in the parameters.
| Type Params | Return Type | Name and description |
|---|---|---|
|
void |
configureCmdline(Action<CmdlineArgumentSpec> configurator)Configures a CmdlineArgumentSpec instance. |
|
void |
configureEntrypoint(Action<JvmEntryPoint> configurator)Configures a JvmEntryPoint instance. |
|
void |
configureForkOptions(Action<JavaForkOptionsWithEnvProvider> configurator)Configures a JavaForkOptionsWithEnvProvider instance. |
|
void |
configureProcess(Action<ProcessExecutionSpec> configurator)Configures a ProcessExecutionSpec. |
|
JavaExecSpec |
copyTo(JavaExecSpec target)Copies these options to the given options. |
Configures a CmdlineArgumentSpec instance.
configurator - Configurator.Configures a JvmEntryPoint instance.
configurator - Configurator.Configures a JavaForkOptionsWithEnvProvider instance.
configurator - Configurator.Configures a ProcessExecutionSpec.
configurator - Configurator.Copies these options to the given options.
target - The target options.