api / org.gradle.kotlin.dsl / org.gradle.api.plugins.ExtensionContainer / get

get

operator fun ExtensionContainer.get(name: String): Any

Looks for the extension of a given name. If none found it will throw an exception.

Parameters

name - extension name

Exceptions

UnknownDomainObjectException - When the given extension is not found.

Return
extension

See Also

ExtensionContainer.getByName