# getByType

inline fun <T : Any> ERROR CLASS: Symbol not found for org.gradle.api.plugins.ExtensionContainer.getByType(type: KClass<T>): T(source)
inline fun <T : Any> ERROR CLASS: Symbol not found for org.gradle.api.plugins.ExtensionContainer.getByType(type: KClass<T>): T(source)

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

#### See also

org.gradle.api.plugins.ExtensionContainer.getByType

inline fun <T : Any> ERROR CLASS: Symbol not found for ExtensionContainer.getByType(): T(source)

Looks for the extension of a given type.

#### Return

the extension

#### Since

5.0

#### Type Parameters

T

the extension type

#### See also

ExtensionContainer.getByType

#### Throws

UnknownDomainObjectException

when no matching extension can be found