api / org.gradle.api / Task / configure

configure

abstract fun configure(configureClosure: Closure<Any>): Task

Applies the statements of the closure against this task object. The delegate object for the closure is set to this task.

Parameters

configureClosure - The closure to be applied (can be null).

Return
This task