# mapProperty

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

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

#### Since

5.1

#### See also

ObjectFactory.mapProperty

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

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

#### See also

ObjectFactory.mapProperty