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.

getState

abstract fun getState(): ProjectState(source)

Returns the evaluation state of this project. You can use this to access information about the evaluation of this project, such as whether it has failed.

Return

the project state. Never returns null.

Since

0.9