create

open fun create(name: String, displayName: String): ProblemGroup(source)

Deprecated

Use the predefined groups from getGroups instead. For problems that fit no predefined root group, create a sub-group with getGroups().getOthers().group(name), see group. This method will be removed in Gradle 11.

Creates a new root problem group i.e. a group with no parent.

Return

the new group

Since

8.13

Parameters

name

the name of the group. Cannot be blank (i.e., null, empty string, or only whitespaces).

displayName

the user-friendly display name of the group. Cannot be blank (i.e., null, empty string, or only whitespaces).


open fun create(name: String, displayName: String, @Nullable parent: @Nullable ProblemGroup): ProblemGroup(source)

Deprecated

Use the predefined groups from getGroups instead, and create sub-groups with group or group. This method will be removed in Gradle 11.

Creates a new problem group.

Return

the new group

Since

8.13

Parameters

name

the name of the group. Cannot be blank (i.e., null, empty string, or only whitespaces).

displayName

the user-friendly display name of the group. Cannot be blank (i.e., null, empty string, or only whitespaces).

parent

the parent group. May be null for root groups.