gradle
8.4

# configure

abstract fun <T> configure(type: Class<T>, action: Action<out Any>)(source)
abstract fun <T> configure(type: TypeOf<T>, action: Action<out Any>)(source)

Looks for the extension of the specified type and configures it with the supplied action.

#### Parameters

type

extension type

action

the configure action

#### Throws

UnknownDomainObjectException

if no extension is found.

abstract fun <T> configure(name: String, action: Action<out Any>)(source)

Looks for the extension with the specified name and configures it with the supplied action.

#### Parameters

name

extension name

action

the configure action

#### Throws

UnknownDomainObjectException

if no extension is found.