provideDelegate

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

Required due to KT-25810.


operator fun ERROR CLASS: Symbol not found for ExtraPropertiesExtension.provideDelegate(receiver: Any?, property: KProperty<*>): MutablePropertyDelegate(source)

Deprecated

Use 'val property = extra[name] as Type' instead. See the Gradle 9.6 upgrading guide.

Provides property delegate for typed access to extra properties.


operator fun <T : Any, C : ERROR CLASS: Symbol not found for NamedDomainObjectCollection<T>> ExistingDomainObjectDelegateProvider<C>.provideDelegate(receiver: Any?, property: KProperty<*>): ERROR CLASS: Cannot infer argument for type parameter K(source)

Deprecated

Use 'val element = named(name)' instead. See the Gradle 9.6 upgrading guide.

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


operator fun <T : Any, C : ERROR CLASS: Symbol not found for NamedDomainObjectCollection<T>> ExistingDomainObjectDelegateProviderWithAction<C, T>.provideDelegate(receiver: Any?, property: KProperty<*>): ERROR CLASS: Cannot infer argument for type parameter K(source)

Deprecated

Use 'val element = named(name) { }' instead. See the Gradle 9.6 upgrading guide.

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


operator fun <T : Any, C : ERROR CLASS: Symbol not found for NamedDomainObjectCollection<T>, U : T> ExistingDomainObjectDelegateProviderWithType<C, U>.provideDelegate(receiver: Any?, property: KProperty<*>): ERROR CLASS: Cannot infer argument for type parameter K(source)

Deprecated

Use 'val element = named<Type>(name)' instead. See the Gradle 9.6 upgrading guide.

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


operator fun <T : Any, C : ERROR CLASS: Symbol not found for NamedDomainObjectCollection<T>, U : T> ExistingDomainObjectDelegateProviderWithTypeAndAction<C, U>.provideDelegate(receiver: Any?, property: KProperty<*>): ERROR CLASS: Cannot infer argument for type parameter K(source)

Deprecated

Use 'val element = named<Type>(name) { }' instead. See the Gradle 9.6 upgrading guide.

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


operator fun <T : Any> ERROR CLASS: Symbol not found for NamedDomainObjectCollection<T>.provideDelegate(thisRef: Any?, property: KProperty<*>): ERROR CLASS: Cannot infer argument for type parameter T(source)

Deprecated

Use 'val element = getByName(name)' instead. See the Gradle 9.6 upgrading guide.

Allows a NamedDomainObjectCollection to be used as a property delegate.

See also

NamedDomainObjectCollection.named

operator fun <T : Any, C : ERROR CLASS: Symbol not found for NamedDomainObjectContainer<T>> RegisteringDomainObjectDelegateProvider<C>.provideDelegate(receiver: Any?, property: KProperty<*>): ERROR CLASS: Cannot infer argument for type parameter K(source)

Deprecated

Use 'val element = register(name)' instead. See the Gradle 9.6 upgrading guide.

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


operator fun <T : Any, C : ERROR CLASS: Symbol not found for NamedDomainObjectContainer<T>> RegisteringDomainObjectDelegateProviderWithAction<C, T>.provideDelegate(receiver: Any?, property: KProperty<*>): ERROR CLASS: Cannot infer argument for type parameter K(source)

Deprecated

Use 'val element = register(name) { }' instead. See the Gradle 9.6 upgrading guide.

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


operator fun <T : Any, C : ERROR CLASS: Symbol not found for PolymorphicDomainObjectContainer<T>, U : T> RegisteringDomainObjectDelegateProviderWithType<C, U>.provideDelegate(receiver: Any?, property: KProperty<*>): ERROR CLASS: Cannot infer argument for type parameter K(source)

Deprecated

Use 'val element = register<Type>(name)' instead. See the Gradle 9.6 upgrading guide.

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


operator fun <T : Any, C : ERROR CLASS: Symbol not found for PolymorphicDomainObjectContainer<T>, U : T> RegisteringDomainObjectDelegateProviderWithTypeAndAction<C, U>.provideDelegate(receiver: Any?, property: KProperty<*>): ERROR CLASS: Cannot infer argument for type parameter K(source)

Deprecated

Use 'val element = register<Type>(name) { }' instead. See the Gradle 9.6 upgrading guide.

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


operator fun ERROR CLASS: Symbol not found for Project.provideDelegate(any: Any?, property: KProperty<*>): PropertyDelegate(source)

Deprecated

Use 'val property = project.property(name)' or 'val property = project.findProperty(name)' instead. See the Gradle 9.6 upgrading guide.

Locates a property on Project.


operator fun ERROR CLASS: Symbol not found for Settings.provideDelegate(any: Any?, property: KProperty<*>): PropertyDelegate(source)

Deprecated

Use 'providers.gradleProperty(name)' for Gradle properties or 'extra[name]' for extra properties instead. See the Gradle 9.6 upgrading guide.

Locates a property on Settings.


operator fun ExistingDomainObjectDelegateProvider<out ERROR CLASS: Symbol not found for TaskContainer>.provideDelegate(receiver: Any?, property: KProperty<*>): ERROR CLASS: Cannot infer argument for type parameter K(source)

Deprecated

Use 'val task = tasks.named(name)' instead. See the Gradle 9.6 upgrading guide.

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


operator fun ExistingDomainObjectDelegateProviderWithAction<out ERROR CLASS: Symbol not found for TaskContainer, ERROR CLASS: Symbol not found for Task>.provideDelegate(receiver: Any?, property: KProperty<*>): ERROR CLASS: Cannot infer argument for type parameter K(source)

Deprecated

Use 'val task = tasks.named(name) { }' instead. See the Gradle 9.6 upgrading guide.

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


operator fun <U : ERROR CLASS: Symbol not found for Task> ExistingDomainObjectDelegateProviderWithType<out ERROR CLASS: Symbol not found for TaskContainer, U>.provideDelegate(receiver: Any?, property: KProperty<*>): ERROR CLASS: Cannot infer argument for type parameter K(source)

Deprecated

Use 'val task = tasks.named<Type>(name)' instead. See the Gradle 9.6 upgrading guide.

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


operator fun <U : ERROR CLASS: Symbol not found for Task> ExistingDomainObjectDelegateProviderWithTypeAndAction<out ERROR CLASS: Symbol not found for TaskContainer, U>.provideDelegate(receiver: Any?, property: KProperty<*>): ERROR CLASS: Cannot infer argument for type parameter K(source)

Deprecated

Use 'val task = tasks.named<Type>(name) { }' instead. See the Gradle 9.6 upgrading guide.

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 ERROR CLASS: Symbol not found for TaskContainer>.provideDelegate(receiver: Any?, property: KProperty<*>): ERROR CLASS: Cannot infer argument for type parameter K(source)

Deprecated

Use 'val task = tasks.register(name)' instead. See the Gradle 9.6 upgrading guide.

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


operator fun RegisteringDomainObjectDelegateProviderWithAction<out ERROR CLASS: Symbol not found for TaskContainer, ERROR CLASS: Symbol not found for Task>.provideDelegate(receiver: Any?, property: KProperty<*>): ERROR CLASS: Cannot infer argument for type parameter K(source)

Deprecated

Use 'val task = tasks.register(name) { }' instead. See the Gradle 9.6 upgrading guide.

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


operator fun <U : ERROR CLASS: Symbol not found for Task> RegisteringDomainObjectDelegateProviderWithType<out ERROR CLASS: Symbol not found for TaskContainer, U>.provideDelegate(receiver: Any?, property: KProperty<*>): ERROR CLASS: Cannot infer argument for type parameter K(source)

Deprecated

Use 'val task = tasks.register<Type>(name)' instead. See the Gradle 9.6 upgrading guide.

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


operator fun <U : ERROR CLASS: Symbol not found for Task> RegisteringDomainObjectDelegateProviderWithTypeAndAction<out ERROR CLASS: Symbol not found for TaskContainer, U>.provideDelegate(receiver: Any?, property: KProperty<*>): ERROR CLASS: Cannot infer argument for type parameter K(source)

Deprecated

Use 'val task = tasks.register<Type>(name) { }' instead. See the Gradle 9.6 upgrading guide.

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