api / org.gradle.api / Project / getState

getState

abstract fun getState(): ProjectState

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.