# provideDelegate

operator fun ExtraPropertiesExtension. provideDelegate(receiver: Any?, property: KProperty<*>): MutablePropertyDelegate(source)

Provides property delegate for typed access to extra properties.

operator fun <T : Any, C : NamedDomainObjectCollection<T>> ExistingDomainObjectDelegateProvider<C>.provideDelegate(receiver: Any?, property: KProperty<*>): ExistingDomainObjectDelegate<NamedDomainObjectProvider<T>>(source)
operator fun <T : Any, C : NamedDomainObjectCollection<T>> ExistingDomainObjectDelegateProviderWithAction<C, T>.provideDelegate(receiver: Any?, property: KProperty<*>): <Error class: unknown class>(source)
operator fun <T : Any, C : NamedDomainObjectCollection<T>, U : T> ExistingDomainObjectDelegateProviderWithType<C, U>.provideDelegate(receiver: Any?, property: KProperty<*>): <Error class: unknown class>(source)
operator fun <T : Any, C : NamedDomainObjectCollection<T>, U : T> ExistingDomainObjectDelegateProviderWithTypeAndAction<C, U>.provideDelegate(receiver: Any?, property: KProperty<*>): ExistingDomainObjectDelegate<NamedDomainObjectProvider<U>>(source)

Provides access to the NamedDomainObjectProvider for the element of the given property name from the container via a delegated property.

operator fun <T : Any> NamedDomainObjectCollection<T>.provideDelegate(thisRef: Any?, property: KProperty<*>): NamedDomainObjectProvider<T>(source)

Allows a NamedDomainObjectCollection to be used as a property delegate.

#### See also

NamedDomainObjectCollection.named

operator fun <T : Any> T. provideDelegate(receiver: Any?, property: KProperty<*>): T(source)

Required due to KT-25810.

operator fun <T : Any, C : NamedDomainObjectContainer<T>> RegisteringDomainObjectDelegateProvider<C>.provideDelegate(receiver: Any?, property: KProperty<*>): ExistingDomainObjectDelegate<NamedDomainObjectProvider<T>>(source)
operator fun <T : Any, C : NamedDomainObjectContainer<T>> RegisteringDomainObjectDelegateProviderWithAction<C, T>.provideDelegate(receiver: Any?, property: KProperty<*>): ExistingDomainObjectDelegate<NamedDomainObjectProvider<T>>(source)
operator fun <T : Any, C : PolymorphicDomainObjectContainer<T>, U : T> RegisteringDomainObjectDelegateProviderWithType<C, U>.provideDelegate(receiver: Any?, property: KProperty<*>): ExistingDomainObjectDelegate<NamedDomainObjectProvider<T>>(source)
operator fun <T : Any, C : PolymorphicDomainObjectContainer<T>, U : T> RegisteringDomainObjectDelegateProviderWithTypeAndAction<C, U>.provideDelegate(receiver: Any?, property: KProperty<*>): ExistingDomainObjectDelegate<NamedDomainObjectProvider<U>>(source)

Registers an element and provides a delegate with the resulting NamedDomainObjectProvider.

operator fun Project. provideDelegate(any: Any?, property: KProperty<*>): PropertyDelegate(source)

Locates a property on Project.

operator fun Settings. provideDelegate(any: Any?, property: KProperty<*>): PropertyDelegate(source)

Locates a property on Settings.

operator fun ExistingDomainObjectDelegateProvider<out TaskContainer>.provideDelegate(receiver: Any?, property: KProperty<*>): ExistingDomainObjectDelegate<TaskProvider<Task>>(source)

Provides a TaskProvider delegate for the task named after the property.

operator fun ExistingDomainObjectDelegateProviderWithAction<out TaskContainer, Task>.provideDelegate(receiver: Any?, property: KProperty<*>): <Error class: unknown class>(source)

Provides a TaskProvider delegate for the task named after the property after configuring it with the given action.

operator fun <U : Task> ExistingDomainObjectDelegateProviderWithType<out TaskContainer, U>.provideDelegate(receiver: Any?, property: KProperty<*>): <Error class: unknown class>(source)

Provides a TaskProvider delegate for the task of the given type named after the property.

operator fun <U : Task> ExistingDomainObjectDelegateProviderWithTypeAndAction<out TaskContainer, U>.provideDelegate(receiver: Any?, property: KProperty<*>): <Error class: unknown class>(source)

Provides a TaskProvider delegate for the task of the given type named after the property after configuring it with the given action.

operator fun RegisteringDomainObjectDelegateProvider<out TaskContainer>.provideDelegate(receiver: Any?, property: KProperty<*>): ExistingDomainObjectDelegate<TaskProvider<Task>>(source)

Registers a task and provides a delegate with the resulting TaskProvider.

operator fun RegisteringDomainObjectDelegateProviderWithAction<out TaskContainer, Task>.provideDelegate(receiver: Any?, property: KProperty<*>): ExistingDomainObjectDelegate<TaskProvider<Task>>(source)

Registers a task that gets configured with the given action and provides a delegate with the resulting TaskProvider.

operator fun <U : Task> RegisteringDomainObjectDelegateProviderWithType<out TaskContainer, U>.provideDelegate(receiver: Any?, property: KProperty<*>): ExistingDomainObjectDelegate<TaskProvider<Task>>(source)

Registers a task of the given type and provides a delegate with the resulting TaskProvider.

operator fun <U : Task> RegisteringDomainObjectDelegateProviderWithTypeAndAction<out TaskContainer, U>.provideDelegate(receiver: Any?, property: KProperty<*>): ExistingDomainObjectDelegate<TaskProvider<U>>(source)

Registers a task of the given type that gets configured with the given action and provides a delegate with the resulting TaskProvider.