Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for createChild (0.22 sec)

  1. subprojects/core/src/main/java/org/gradle/internal/service/scopes/ProjectScopeServices.java

            if (parent == null) {
                parentRegistry = rootRegistry.createChild(project.getBaseClassLoaderScope());
            } else {
                parentRegistry = parent.getMutableModel().getServices().get(PluginRegistry.class);
            }
            return parentRegistry.createChild(project.getClassLoaderScope());
        }
    
        @Provides
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 09:21:42 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/serialize/DefaultClassDecoder.kt

            val newScope = if (localImplementationHash != null && exportClassPath.isEmpty) {
                parent.createLockedChild(name, origin, localClassPath, localImplementationHash, null)
            } else {
                parent.createChild(name, origin).local(localClassPath).export(exportClassPath).lock()
            }
    
            scopes.putInstance(id, newScope)
            return newScope
        }
    
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/event/ScopedListenerManager.java

         * The child inherits the loggers of its parent, though these can be replaced.
         *
         * @return The child
         */
        ScopedListenerManager createChild(Class<? extends Scope> scope);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 10:09:43 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/caching/internal/controller/impl/LifecycleAwareBuildCacheControllerFactory.java

        }
    
        public LifecycleAwareBuildCacheController createForNonRootBuild(Path identityPath, BuildCacheControllerFactory buildCacheControllerFactory, InstanceGenerator instanceGenerator) {
            return rootController.createChild(identityPath, buildCacheControllerFactory, instanceGenerator);
        }
    
        private static abstract class DelegatingBuildCacheController implements LifecycleAwareBuildCacheController {
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 23:28:13 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  5. platforms/core-runtime/build-state/src/main/java/org/gradle/internal/session/BuildSessionScopeServices.java

            registration.add(BuildEventConsumer.class, buildEventConsumer);
        }
    
        @Provides
        ScopedListenerManager createListenerManager(ScopedListenerManager parent) {
            return parent.createChild(Scope.BuildSession.class);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/internal/service/scopes/SettingsScopeServices.java

            return fileLookup.getFileResolver(settings.getSettingsDir());
        }
    
        @Provides
        protected PluginRegistry createPluginRegistry(PluginRegistry parentRegistry) {
            return parentRegistry.createChild(settings.getClassLoaderScope());
        }
    
        @Provides
        protected PluginManagerInternal createPluginManager(
            Instantiator instantiator,
            PluginRegistry pluginRegistry,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 09:21:42 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  7. platforms/extensibility/unit-test-fixtures/src/main/java/org/gradle/testfixtures/internal/ProjectBuilderImpl.java

            projectState.createMutableModel(parentProject.getClassLoaderScope().createChild("project-" + name, null), parentProject.getBaseClassLoaderScope());
            ProjectInternal project = projectState.getMutableModel();
    
            // Lock the project, these won't ever be released as ProjectBuilder has no lifecycle
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:51:36 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheHost.kt

            }
    
            private
            fun createSettings(): SettingsState {
                val baseClassLoaderScope = gradle.classLoaderScope
                val classLoaderScope = baseClassLoaderScope.createChild("settings", null)
                val settingsSource = TextResourceScriptSource(service<TextFileResourceLoader>().loadFile("settings file", settingsFile))
                lateinit var services: SettingsScopeServices
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  9. platforms/extensibility/plugin-use/src/main/java/org/gradle/plugin/use/resolve/service/internal/DefaultInjectedClasspathPluginResolver.java

            return newPluginRegistryOf(instrumentedClassPath);
        }
    
        private PluginRegistry newPluginRegistryOf(ClassPath classPath) {
            return new DefaultPluginRegistry(pluginInspector,
                parentScope.createChild("injected-plugin", null)
                    .local(classPath)
                    .lock()
            );
        }
    
        @Override
        public void collectResolversInto(Collection<? super PluginResolver> dest) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 08:19:55 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/internal/buildtree/BuildTreeScopeServices.java

        }
    
        @Provides
        protected ScopedListenerManager createListenerManager(ScopedListenerManager parent) {
            return parent.createChild(Scope.BuildTree.class);
        }
    
        @Provides
        protected ExceptionAnalyser createExceptionAnalyser(LoggingConfiguration loggingConfiguration, ExceptionCollector exceptionCollector) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top