@Incubating public interface Problems
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.
Modifier and Type | Method | Description |
---|---|---|
ProblemReporter |
forNamespace(java.lang.String namespace) |
Return a problem reporter associated with a plugin.
|
ProblemReporter forNamespace(java.lang.String namespace)
The namespace provides separation for identical problems emitted from different components.
For more details on check ProblemSpec.category(String, String...)