public class AbstractJvmScriptExecTask extends AbstractJvmExecTask
Configures a task that will run an execution in a forked JVM.
| Constructor and description |
|---|
protected AbstractJvmScriptExecTask
(org.gradle.workers.WorkerExecutor we)JVM exec that can support workers. |
protected AbstractJvmScriptExecTask
()JVM exec that does not support workers. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
T |
script(Action<ScriptSpec> configurator)Configures the script specification. |
|
T |
script(groovy.lang.Closure<?> specConfigurator)Configures script elements by Groovy closure. |
| Methods inherited from class | Name |
|---|---|
class AbstractJvmExecTask |
createExecutorFactory, createParameterFactory |
JVM exec that can support workers.
we - WorkerJVM exec that does not support workers.
Configures the script specification.
configurator - Action to configure the script.Configures script elements by Groovy closure.
specConfigurator - Configurating closure.this