configure

fun configure(scriptPath: String, name: String? = null, step: Configure<RunScript> = Configure {}): RunScript

Creates and configures a RunScript instance.

Return

Configured RunScript instance

Parameters

scriptPath

Path to the script resource in the classpath

name

Optional name for the step (for logging and identification)

step

Configuration lambda to customize the step