gradle
8.5

# keySet

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

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