the

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

Returns the extension of the specified type.

Parameters

T

the extension type.


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

Returns the extension of the specified extensionType.

Parameters

T

the extension type.

extensionType

the reified extension type.


inline fun <T : Any> Project.the(): T(source)
fun <T : Any> Project.the(extensionType: KClass<T>): T(source)

Returns the project extension of the specified type.

Parameters

T

the project extension type.

See also