Exemplo n.º 1
0
 protected SettingsLoader createSettingsLoader(
     SettingsProcessor settingsProcessor,
     GradleLauncherFactory gradleLauncherFactory,
     ClassLoaderScopeRegistry classLoaderScopeRegistry,
     CacheRepository cacheRepository,
     BuildLoader buildLoader,
     BuildOperationExecutor buildOperationExecutor) {
   return new NotifyingSettingsLoader(
       new SettingsHandler(
           new DefaultSettingsFinder(new BuildLayoutFactory()),
           settingsProcessor,
           new BuildSourceBuilder(
               gradleLauncherFactory,
               classLoaderScopeRegistry.getCoreAndPluginsScope(),
               cacheRepository,
               buildOperationExecutor)),
       buildLoader);
 }
Exemplo n.º 2
0
 protected SettingsLoaderFactory createSettingsLoaderFactory(
     SettingsProcessor settingsProcessor,
     GradleLauncherFactory gradleLauncherFactory,
     ClassLoaderScopeRegistry classLoaderScopeRegistry,
     CacheRepository cacheRepository,
     BuildLoader buildLoader,
     BuildOperationExecutor buildOperationExecutor,
     ServiceRegistry serviceRegistry,
     CachedClasspathTransformer cachedClasspathTransformer) {
   return new DefaultSettingsLoaderFactory(
       new DefaultSettingsFinder(new BuildLayoutFactory()),
       settingsProcessor,
       new BuildSourceBuilder(
           gradleLauncherFactory,
           classLoaderScopeRegistry.getCoreAndPluginsScope(),
           cacheRepository,
           buildOperationExecutor,
           cachedClasspathTransformer),
       buildLoader,
       serviceRegistry);
 }
Exemplo n.º 3
0
 protected PluginRegistry createPluginRegistry(
     ClassLoaderScopeRegistry scopeRegistry, PluginInspector pluginInspector) {
   return new DefaultPluginRegistry(pluginInspector, scopeRegistry.getCoreAndPluginsScope());
 }