Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 59 for createChild (0.24 sec)

  1. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/scaninfo/DefaultDaemonScanInfoSpec.groovy

                }
                start {
                    sleep 100
                    manager.createChild(Scope.Build).getBroadcaster(BuildListener).buildFinished(null)
                }
            }
    
            then:
            0 * _
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/configuration/BuildTreePreparingProjectsPreparer.java

            SettingsInternal settings = gradle.getSettings();
            ClassLoaderScope settingsClassLoaderScope = settings.getClassLoaderScope();
            ClassLoaderScope buildSrcClassLoaderScope = settingsClassLoaderScope.createChild("buildSrc[" + gradle.getIdentityPath() + "]", null);
            gradle.setBaseProjectClassLoaderScope(buildSrcClassLoaderScope);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 01 14:00:32 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  3. 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)
  4. platforms/core-runtime/launcher/src/test/groovy/org/gradle/tooling/internal/provider/continuous/ContinuousBuildActionExecutorTest.groovy

        def action = Stub(BuildAction) {
            getStartParameter() >> startParameter
        }
        def globalListenerManager = new DefaultListenerManager(Scope.Global)
        def userHomeListenerManager = globalListenerManager.createChild(Scope.UserHome)
        def inputListeners = new DefaultWorkInputListeners(globalListenerManager)
        def changeListeners = new DefaultFileChangeListeners(userHomeListenerManager)
        List<Deployment> deployments = []
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/api/internal/project/taskfactory/TaskFactory.java

            this.project = project;
            this.instantiationScheme = instantiationScheme;
        }
    
        @Override
        public ITaskFactory createChild(ProjectInternal project, InstantiationScheme instantiationScheme) {
            return new TaskFactory(project, instantiationScheme);
        }
    
        @Override
        @SuppressWarnings("deprecation")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 08:37:31 UTC 2021
    - 4.3K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/api/internal/plugins/DefaultPluginRegistryTest.groovy

            def lookupScope = Mock(ClassLoaderScope)
            def url = writePluginProperties(TestPlugin1)
    
            given:
            PluginRegistry child = pluginRegistry.createChild(lookupScope)
            _ * classLoader.getResource("META-INF/gradle-plugins/somePlugin.properties") >> url
            _ * classLoader.loadClass(TestPlugin1.name) >> TestPlugin1
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 07:52:06 UTC 2021
    - 13K bytes
    - Viewed (0)
  7. 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)
  8. subprojects/core/src/test/groovy/org/gradle/api/internal/project/taskfactory/TaskFactoryTest.groovy

        def instantiator = Mock(InstanceGenerator)
        def deserializeInstantiator = Mock(DeserializationInstantiator)
        ITaskFactory taskFactory
    
        def setup() {
            taskFactory = new TaskFactory().createChild(project, instantiationScheme)
            _ * instantiationScheme.instantiator() >> instantiator
            _ * instantiationScheme.deserializationInstantiator() >> deserializeInstantiator
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 25 21:08:17 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  9. subprojects/core/src/test/groovy/org/gradle/api/internal/project/DefaultProjectTest.groovy

            childchild = defaultProject("childchild", chilchildState, child1, new File("childchild"), child1ClassLoaderScope.createChild("project-childchild", null))
            child2State = Mock(ProjectState)
            child2 = defaultProject("child2", child2State, project, new File("child2"), rootProjectClassLoaderScope.createChild("project-child2", null))
            child2State.mutableModel >> child2
            child2State.name >> "child2"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  10. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/AbstractListChildMap.java

                        return AbstractListChildMap.this.withNewChild(childIndex, newChildPath, newChild);
                    }
                });
            } else {
                T newChild = storeHandler.createChild();
                return withNewChild(-childIndex - 1, targetPath.toString(), newChild);
            }
        }
    
        protected ChildMap<T> withNewChild(int insertBefore, String path, T newChild) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 23 19:11:25 UTC 2023
    - 5.7K bytes
    - Viewed (0)
Back to top