api / org.gradle.kotlin.dsl / org.gradle.api.plugins.ExtensionAware

Extensions for org.gradle.api.plugins.ExtensionAware

configure

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

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

extra

val ExtensionAware.extra: ExtraPropertiesExtension

The extra properties extension in this object's extension container.

the

fun <T : Any> ExtensionAware.the(): T

Returns the extension of the specified type.

fun <T : Any> ExtensionAware.the(extensionType: KClass<T>): T

Returns the extension of the specified extensionType.