api / org.gradle.api / ProjectState

ProjectState

interface ProjectState

ProjectState provides information about the execution state of a project.

Functions

getExecuted

abstract fun getExecuted(): Boolean

Returns true if this project has been evaluated.

getFailure

abstract fun getFailure(): Throwable

Returns the exception describing the project failure, if any.

rethrowFailure

abstract fun rethrowFailure(): Unit

Throws the project failure, if any. Does nothing if the project did not fail.