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.

projectsEvaluated

abstract fun projectsEvaluated(closure: Closure)(source)

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.

Since

0.9

Parameters

closure

The closure to execute.


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

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.

Since

3.4

Parameters

action

The action to execute.