For AI agents: the documentation index is at https://docs.gradle.org/llms.txt. Request any page with the header Accept: text/markdown to get Markdown. User manual pages are also available as Markdown by replacing .html with .md in the URL.

PolymorphicDomainObjectContainerGettingDelegateProvider

Deprecated

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

A property delegate that gets elements of the given type from the given container and applies the given configuration.

Since

4.1

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
operator fun provideDelegate(thisRef: Any?, property: KProperty<*>): ExistingDomainObjectDelegate<U>