get
inline fun <S : Any, T : SoftwareComponent> BinaryCollection<T>.get(type: KClass<S>, spec: Spec<in S>): BinaryProvider<S>
Kotlin extension function taking kotlin.reflect.KClass for org.gradle.language.BinaryCollection.get.
See also
Binary Collection. 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
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
when there is no such object in this collection.