Interface ResilientGradleBuild

All Superinterfaces:
BuildModel, Model

@Incubating @NullMarked public interface ResilientGradleBuild extends Model, BuildModel
Provides information about the structure of a Gradle build. This is a "resilient" version of GradleBuild that provides information about build failures.
Since:
9.3.0
  • Method Details

    • getGradleBuild

      GradleBuild getGradleBuild()
      Returns the GradleBuild instance
      Returns:
      the GradleBuild instance
      Since:
      9.3.0
    • didItFail

      boolean didItFail()
      Returns whether the project has failed to load the full build.
      Returns:
      true if the project has failed, false otherwise.
      Since:
      9.3.0
    • getFailures

      @Nullable Collection<String> getFailures()
      Returns the failure that caused the build to fail, if any.
      Returns:
      the failure, or null if the build did not fail.
      Since:
      9.3.0