Package org.gradle.api.invocation
Interface GradleLifecycle
-
@Incubating public interface GradleLifecycle
Gradle lifecycle callbacks compatible withConfiguration Cache
andIsolated Projects
.- Since:
- 8.8
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
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 Detail
-
beforeProject
@Incubating void beforeProject(IsolatedAction<? super Project> action)
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:
for the requirements to isolated actions
-
afterProject
@Incubating void afterProject(IsolatedAction<? super Project> action)
Adds anisolated action
to be called immediately after a project is evaluated.- Parameters:
action
- The action to execute.- Since:
- 8.8
- See Also:
for the requirements to isolated actions
-
-