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.

listProperty

inline fun <T : Any> ObjectFactory.listProperty(elementType: KClass<T>): ListProperty<T>(source)
inline fun <T : Any> ObjectFactory.listProperty(elementType: KClass<T>): ListProperty<T>(source)

Kotlin extension function taking kotlin.reflect.KClass for org.gradle.api.model.ObjectFactory.listProperty.

Since

4.3

See also


Creates a ListProperty that holds values of the given type T.

Since

5.6

See also

ObjectFactory.listProperty