# ResilientGradleBuild

@Incubating
@NullMarked
interface ResilientGradleBuild : Model, BuildModel(source)

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

## Functions

didItFail
Link copied to clipboard
abstract fun didItFail(): Boolean
Returns whether the project has failed to load the full build.
getBuildIdentifier
Link copied to clipboard
abstract fun getBuildIdentifier(): BuildIdentifier
getFailures
Link copied to clipboard
@Nullable
abstract fun getFailures(): @Nullable Collection<String>
Returns the failure that caused the build to fail, if any.
getGradleBuild
Link copied to clipboard
abstract fun getGradleBuild(): GradleBuild
Returns the GradleBuild instance