api / org.gradle.kotlin.dsl / org.gradle.api.model.ObjectFactory

Extensions for org.gradle.api.model.ObjectFactory

listProperty

fun <T> ObjectFactory.listProperty(): ListProperty<T>

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

property

fun <T> ObjectFactory.property(): Property<T>

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