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.

beforeProject

Adds an isolated action to be called immediately before a project is evaluated. Any extensions added to the Project model will be available to build scripts.

Since

8.8

Parameters

action

The action to execute.

See also

for the requirements to isolated actions