get
Looks for the extension of a given name. If none found it will throw an exception.
Return
extension
Parameters
name
extension name
See also
Extension Container. getByName
Throws
Unknown Domain Object Exception
When the given extension is not found.
Locates an object by name, failing if there is no such object.
Return
The object with the given name.
Parameters
name
The object name
See also
Named Domain Object Collection. getByName
Throws
Unknown Domain Object Exception
when there is no such object in this collection.
inline fun <S : Any, T : SoftwareComponent> BinaryCollection<T>.get(type: KClass<S>, spec: Spec<in S>): BinaryProvider<S>(source)
inline fun <S : Any, T : SoftwareComponent> BinaryCollection<T>.get(type: KClass<S>, spec: Spec<in S>): BinaryProvider<S>(source)
Kotlin extension function taking kotlin.reflect.KClass for org.gradle.language.BinaryCollection.get.
Since
4.5
See also
Binary Collection. get