# setProperty

inline fun <T : Any> ObjectFactory.setProperty(elementType: KClass<T>): SetProperty<T>
inline fun <T : Any> ObjectFactory.setProperty(elementType: KClass<T>): SetProperty<T>

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

#### Since

4.5

#### See also

ObjectFactory.setProperty

inline fun <T : Any> ObjectFactory.setProperty(): SetProperty<T>

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

#### See also

ObjectFactory.setProperty