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.

property

abstract fun <T> property(valueType: Class<T>): Property<T>(source)

Creates a Property implementation to hold values of the given type. The property has no initial value.

For certain types, there are more specialized property factory methods available:

Return

The property. Never returns null.

Since

4.3

Parameters

valueType

The type of the property.