use of org.gradle.caching.internal.controller.BuildCacheController in project gradle by gradle.
the class RootBuildCacheControllerSettingsProcessor method process.
public static void process(GradleInternal gradle) {
// before configuring them. This achieves that.
if (gradle.isRootBuild()) {
BuildCacheController rootController = gradle.getServices().get(BuildCacheController.class);
RootBuildCacheControllerRef rootControllerRef = gradle.getServices().get(RootBuildCacheControllerRef.class);
rootControllerRef.set(rootController);
}
}
Aggregations