gradle
8.3

# keySet

abstract fun keySet(): Provider<Set<K>>

Returns a Provider that returns the set of keys for the map that is the property value.

The returned provider will track the value of this property and query its value when it is queried.

This method is equivalent to

        map(m -> m.keySet())

Content copied to clipboard
but possibly more efficient.

#### Return

a Provider that provides the set of keys for the map