For AI agents: the documentation index is at https://docs.gradle.org/llms.txt. Request any page with the header Accept: text/markdown to get Markdown. User manual pages are also available as Markdown by replacing .html with .md in the URL.

create

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

Deprecated

Create the id from a predefined group of getGroups instead, with problemId, problemId or problemId. This method will be removed in Gradle 11.

Creates a new problem id.

Return

the new problem id

Since

8.13

Parameters

name

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

displayName

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

group

the group to which the problem belongs. Cannot be null.