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.

Problems

@ServiceScope(value = BuildTree::class)
interface Problems(source)

Problems API service.

The main purpose of this API is to allow clients to create, configure, and report problems in a centralized way.

Reported problems are exposed via build operation progress events, which then are converted to Tooling API progress events.

Clients should expect that in future Gradle versions the reported problems will appear in console messages, reports, etc.

Since

8.4

Functions

Link copied to clipboard
abstract fun getGroups(): ProblemGroups
Returns the problem groups.
Link copied to clipboard
Return a problem reporter associated with a plugin.