# getting

fun <T : Any, U : ERROR CLASS: Symbol not found for NamedDomainObjectCollection<T>> U.getting(configuration: T.() -> Unit): NamedDomainObjectCollectionDelegateProvider<T>(source)

Idiomatic way of referring and configuring an existing element in a collection via a delegate property.

`tasks { val jar by getting { group = "My" } }`

fun <T : Any, U : T> ERROR CLASS: Symbol not found for NamedDomainObjectContainer<T>.getting(type: KClass<U>, configuration: U.() -> Unit): PolymorphicDomainObjectContainerGettingDelegateProvider<U, U>(source)

Provides a property delegate that gets elements of the given type and applies the given configuration.

fun <T : Any, U : T> ERROR CLASS: Symbol not found for NamedDomainObjectContainer<T>.getting(type: KClass<U>): PolymorphicDomainObjectContainerGettingDelegateProvider<U, U>(source)

Provides a property delegate that gets elements of the given type.

val <T : Any, U : ERROR CLASS: Symbol not found for NamedDomainObjectCollection<out T>> U.getting: NamedDomainObjectCollectionDelegateProvider<ERROR CLASS: Cannot infer argument for type parameter T>(source)

Idiomatic way of referring to an existing element in a collection via a delegate property.

`tasks { val jar by getting }`