ClosureBackedAction

Deprecated

This class is only here to maintain binary compatibility with existing plugins.

To apply a configuration (represented by a Groovy closure) on an object, use configure.

Deprecated

Will be removed in Gradle 9.0.

Constructors

Link copied to clipboard
constructor(closure: Closure)
constructor(closure: Closure, resolveStrategy: Int)
constructor(closure: Closure, resolveStrategy: Int, configurableAware: Boolean)

Properties

Link copied to clipboard
val closure: Closure

Functions

Link copied to clipboard
open fun equals(o: Any): Boolean
Link copied to clipboard
open fun execute(delegate: T)
open fun <T> execute(delegate: T, closure: Closure<out Any>)
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
operator fun <T> Action<in T>.invoke(target: T)

Enables function invocation syntax on Action references.

Link copied to clipboard
open fun <T> of(closure: Closure<out Any>): ClosureBackedAction<T>