For AI agents: the documentation index is at https://docs.gradle.org/llms.txt. Request any page with the header Accept: text/markdown to get Markdown. User manual pages are also available as Markdown by replacing .html with .md in the URL.

ProjectState

interface ProjectState(source)

ProjectState provides information about the execution state of a project.

Since

0.9

Functions

Link copied to clipboard
abstract fun getExecuted(): Boolean
Returns true if this project has been evaluated.
Link copied to clipboard
@Nullable
abstract fun getFailure(): @Nullable Throwable
Returns the exception describing the project failure, if any.
Link copied to clipboard
abstract fun rethrowFailure()
Throws the project failure, if any.