# configure

inline fun <T : Any> ExtensionContainer. configure(type: KClass<T>, action: Action<in T>)(source)
inline fun <T : Any> ExtensionContainer. configure(type: KClass<T>, action: Action<in T>)(source)

Kotlin extension function taking kotlin.reflect.KClass for org.gradle.api.plugins.ExtensionContainer.configure.

#### See also

org.gradle.api.plugins.ExtensionContainer.configure

inline fun <T : Any> ExtensionAware. configure(noinline configuration: T.() -> Unit)(source)

Executes the given configuration block against the extension of the specified type.

#### Parameters

configuration

the configuration block.

#### Type Parameters

T

the extension type.

#### See also

ExtensionAware

inline fun <T : Any> ExtensionContainer. configure(noinline action: T.() -> Unit)(source)

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

#### Since

5.0

#### Parameters

action

the configuration action

#### Type Parameters

T

the extension type

#### See also

ExtensionContainer.configure

inline fun <T : Any> Project. configure(noinline configuration: T.() -> Unit)(source)

Executes the given configuration block against the project extension of the specified type.

#### Parameters

configuration

the configuration block.

#### Type Parameters

T

the project extension type.

#### See also

ExtensionAware