property

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

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

See also

ObjectFactory.property

inline fun <T : Any> ObjectFactory.property(valueType: KClass<T>): Property<T>
inline fun <T : Any> ObjectFactory.property(valueType: KClass<T>): Property<T>

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

Since

4.3

See also

ObjectFactory.property