api / org.gradle.api.invocation / Gradle / projectsEvaluated

projectsEvaluated

abstract fun projectsEvaluated(closure: Closure<Any>): Unit

Adds a closure to be called when all projects for the build have been evaluated. The project objects are fully configured and are ready to use to populate the task graph. This Gradle instance is passed to the closure as a parameter.

Parameters

closure - The closure to execute.

abstract fun projectsEvaluated(action: Action<in Gradle>): Unit

Adds an action to be called when all projects for the build have been evaluated. The project objects are fully configured and are ready to use to populate the task graph.

Parameters

action - The action to execute.

Since
3.4