Schnittstelle Problems


@Incubating @ServiceScope(org.gradle.internal.service.scopes.Scope.BuildTree.class) public interface Problems
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.

Seit:
8.6
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    Return a problem reporter associated with a plugin.
  • Methodendetails

    • getReporter

      ProblemReporter getReporter()
      Return a problem reporter associated with a plugin.
      Gibt zurück:
      The problem reporter.
      Seit:
      8.11