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.

GradleLifecycle

Gradle lifecycle callbacks compatible with Configuration Cache and Isolated Projects.

Since

8.8

Functions

Link copied to clipboard
abstract fun afterProject(action: IsolatedAction<in Project>)
Adds an isolated action to be called immediately after a project is evaluated.
Link copied to clipboard
Adds an isolated action to be called immediately before a project is evaluated.