Package org.gradle.api.invocation
Interface GradleLifecycle
Gradle lifecycle callbacks compatible with
Configuration Cache
and Isolated Projects
.- Since:
- 8.8
-
Method Summary
Modifier and TypeMethodDescriptionvoid
afterProject
(IsolatedAction<? super Project> action) Adds anisolated action
to be called immediately after a project is evaluated.void
beforeProject
(IsolatedAction<? super Project> action) Adds anisolated action
to be called immediately before a project is evaluated.
-
Method Details
-
beforeProject
Adds anisolated action
to be called immediately before a project is evaluated. Any extensions added to theProject
model will be available to build scripts.- Parameters:
action
- The action to execute.- Since:
- 8.8
- See Also:
-
afterProject
Adds anisolated action
to be called immediately after a project is evaluated.- Parameters:
action
- The action to execute.- Since:
- 8.8
- See Also:
-