Use getName instead. The display name of a group from getGroups is its name. This method will be removed in Gradle 10.
Returns a human-readable label describing the group.
8.8