Describes a script-based executable.
| Type Params | Return Type | Name and description |
|---|---|---|
|
void |
script(Action<ScriptSpec> configurator)Configures the script along with its arguments. |
|
void |
script(groovy.lang.Closure<?> specConfigurator)Configures script elements by Groovy closure. |
| Methods inherited from class | Name |
|---|---|
interface Executable |
entrypoint, entrypoint, process, process, runnerSpec, runnerSpec |
Configures the script along with its arguments.
configurator - An action to configure the scriptConfigures script elements by Groovy closure.
specConfigurator - Configurating closure.