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.

InitialValueExtraPropertyDelegate

Deprecated

Use 'extra.set(name, value)' instead. See the Gradle 9.6 upgrading guide.

Enables typed access to extra properties with initial value.

Since

4.7

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
operator fun getValue(receiver: Any?, property: KProperty<*>): T
Link copied to clipboard
operator fun setValue(receiver: Any?, property: KProperty<*>, value: T)