Class GradleProblemGroup

java.lang.Object
org.gradle.api.problems.ProblemGroup
org.gradle.api.problems.GradleProblemGroup

@Incubating public abstract class GradleProblemGroup extends ProblemGroup
The predefined Gradle root problem group.

Initialization, configuration, and execution of the Gradle runtime, integration of built-in and third-party plugins with Gradle.

This group is closed: it is not possible to create additional sub-groups below it or below its sub-groups, which are GradleSecondLevelProblemGroups. Problems can be reported into any of its sub-groups and into getUndefined().

The Deprecation sub-group of this group is reserved for Gradle's own deprecations and not available here; consumers identify it, like any group, by its name path.

Not intended for subclassing outside of Gradle. New members may be added in future versions.

Since:
9.9.0
See Also:
  • Constructor Details

    • GradleProblemGroup

      protected GradleProblemGroup()
      Constructor.
      Since:
      9.9.0
  • Method Details

    • getBuildCache

      public abstract GradleSecondLevelProblemGroup getBuildCache()
      The Build Cache sub-group.

      Caching of build outputs, including cache key calculation, local and remote cache storage, cache entry retrieval, or cache configuration.

      Since:
      9.9.0
    • getBuildDefinition

      public abstract GradleSecondLevelProblemGroup getBuildDefinition()
      The Build Definition sub-group.

      Configuration of settings and projects, including missing, invalid, or conflicting property values and declarations.

      Since:
      9.9.0
    • getBuildLogic

      public abstract GradleSecondLevelProblemGroup getBuildLogic()
      The Build Logic sub-group.

      Gradle plugin code interacting with the build model, including registration and configuration of tasks, declaration of their inputs, outputs, cacheability, or calling other plugins' API.

      Since:
      9.9.0
    • getConfigurationCache

      public abstract GradleSecondLevelProblemGroup getConfigurationCache()
      The Configuration Cache sub-group.

      Caching of the configuration phase, including configuration inputs, serialization of the task graph, or reports of task incompatibilities.

      Since:
      9.9.0
    • getDslEvaluation

      public abstract GradleSecondLevelProblemGroup getDslEvaluation()
      The DSL Evaluation sub-group.

      Parsing, compilation, and application of Gradle DSL files.

      Since:
      9.9.0
    • getInvocation

      public abstract GradleSecondLevelProblemGroup getInvocation()
      The Invocation sub-group.

      Build entry points such as CLI or Tooling API, including command-line options and arguments, environment variables, requested tasks, or task options.

      Since:
      9.9.0
    • getIsolatedProjects

      public abstract GradleSecondLevelProblemGroup getIsolatedProjects()
      The Isolated Projects sub-group.

      Isolation of project configuration by forbidding cross-project access, including direct access or hierarchical properties access.

      Since:
      9.9.0
    • getPluginValidation

      public abstract GradleSecondLevelProblemGroup getPluginValidation()
      The Plugin Validation sub-group.

      Validation of plugins, including incorrect use of caching or input annotations on tasks or artifact transforms.

      Since:
      9.9.0
    • getUndefined

      public abstract UndefinedProblemGroup getUndefined()
      The synthetic Undefined sub-group for problems without an explicitly defined Gradle sub-group.

      Prefer one of the predefined sub-groups; this group exists so that a problem can be reported without inventing a category.

      Since:
      9.9.0