# mapProperty

inline fun <K : Any, V : Any> ObjectFactory.mapProperty(keyType: KClass<K>, valueType: KClass<V>): MapProperty<K, V>
inline fun <K : Any, V : Any> ObjectFactory.mapProperty(keyType: KClass<K>, valueType: KClass<V>): MapProperty<K, V>

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

#### Since

5.1

#### See also

ObjectFactory.mapProperty

inline fun <K : Any, V : Any> ObjectFactory.mapProperty(): MapProperty<K, V>

Creates a MapProperty that holds values of the given key type K and value type V.

#### See also

ObjectFactory.mapProperty