gradle
8.3

# set

abstract fun set(@Nullable entries: Map<out K, out V>)

Sets the value of this property to the entries of the given Map, and replaces any existing value. This property will query the entries of the map each time the value of this property is queried.

This method can also be used to discard the value of the property, by passing `null` as the value. The convention for this property, if any, will be used to provide the value instead.

#### Parameters

entries

the entries, can be `null`

abstract fun set(provider: Provider<out Map<out K, out V>>)

Sets the property to have the same value of the given provider, and replaces any existing value. This property will track the value of the provider and query its value each time the value of this property is queried. When the provider has no value, this property will also have no value.

#### Parameters

provider

Provider of the entries.