Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 59 for createChild (0.36 sec)

  1. subprojects/core/src/main/java/org/gradle/initialization/InstantiatingBuildLoader.java

            ClassLoaderScope baseProjectClassLoaderScope = gradle.baseProjectClassLoaderScope();
            ClassLoaderScope rootProjectClassLoaderScope = baseProjectClassLoaderScope.createChild("root-project[" + gradle.getIdentityPath() + "]", null);
    
            ProjectState projectState = gradle.getOwner().getProjects().getProject(rootProjectDescriptor.path());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 24 13:56:30 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/api/internal/initialization/DefaultClassLoaderScopeTest.groovy

            when:
            def scope1 = root.createChild("child1", null).export(c1).local(c2).lock()
            scope1.exportClassLoader
    
            def scope2 = root.createChild("child2", null).export(c1).local(c2).lock()
            scope2.exportClassLoader
    
            then:
            scope1.exportClassLoader.is scope2.exportClassLoader
    
            when:
            def child = scope1.createChild("child", null).export(c1).local(c2).lock()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 24 13:56:30 UTC 2022
    - 13.8K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/api/internal/plugins/DefaultObjectConfigurationActionTest.groovy

            expect:
            action.execute()
        }
    
        void appliesScriptsToDefaultTargetObject() {
            given:
            1 * resolver.resolveUri('script') >> file
            1 * parentCompileScope.createChild("script-$file", null) >> scriptCompileScope
            1 * scriptHandlerFactory.create(_, scriptCompileScope) >> scriptHandler
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  4. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/vfs/impl/VersionHierarchy.java

                    return createChild();
                }
    
                @Override
                public VersionHierarchy mergeWithExisting(VersionHierarchy child) {
                    return createChild();
                }
    
                @Override
                public VersionHierarchy createChild() {
                    return VersionHierarchy.empty(newVersion);
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/api/internal/initialization/AbstractClassLoaderScope.java

    import org.gradle.internal.classpath.ClassPath;
    import org.gradle.internal.hash.HashCode;
    
    import javax.annotation.Nullable;
    import java.util.function.Function;
    
    /**
     * Provides common {@link #getPath} and {@link #createChild} behaviour for {@link ClassLoaderScope} implementations.
     */
    public abstract class AbstractClassLoaderScope implements ClassLoaderScope {
    
        protected final ClassLoaderScopeIdentifier id;
        @Nullable
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/event/DefaultListenerManagerTest.groovy

        def broadcasterDoesNothingWhenNoListenersRegistered() {
            when:
            manager.getBroadcaster(TestFooListener.class).foo("param")
            manager.createChild(Scope.Build).getBroadcaster(BuildScopeListener.class).foo("param")
            manager.createChild(Scope.Build).createAnonymousBroadcaster(BuildScopeListener.class).source.foo("param")
    
            then:
            0 * _
        }
    
        def cachesBroadcasters() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/api/internal/project/taskfactory/ITaskFactory.java

    import org.gradle.api.internal.project.ProjectInternal;
    import org.gradle.internal.instantiation.InstantiationScheme;
    
    import javax.annotation.Nullable;
    
    public interface ITaskFactory {
        ITaskFactory createChild(ProjectInternal project, InstantiationScheme instantiationScheme);
    
        /**
         * @param constructorArgs null == do not invoke constructor, empty == invoke constructor with no args, non-empty = invoke constructor with args
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 06:37:12 UTC 2019
    - 1.2K bytes
    - Viewed (0)
  8. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/AbstractStorePathRelationshipHandler.java

            String siblingPath = targetPath.pathFromChild(commonPrefix).getAsString();
            ChildMap.Entry<T> sibling = new ChildMap.Entry<>(siblingPath, handler.createChild());
            ChildMap<T> newChildren = ChildMapFactory.childMap(caseSensitivity, newChild, sibling);
            return withReplacedChild(commonPrefix, handler.createNodeFromChildren(newChildren));
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 3K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/api/internal/project/taskfactory/AnnotationProcessingTaskFactory.java

            this.taskFactory = taskFactory;
        }
    
        @Override
        public ITaskFactory createChild(ProjectInternal project, InstantiationScheme instantiationScheme) {
            return new AnnotationProcessingTaskFactory(instantiator, taskClassInfoStore, taskFactory.createChild(project, instantiationScheme));
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 18 14:40:02 UTC 2021
    - 2.8K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/initialization/InstantiatingBuildLoaderTest.groovy

        ProjectState rootProjectState = Mock(ProjectState)
    
        def rootProjectClassLoaderScope = Mock(ClassLoaderScope)
        def baseProjectClassLoaderScope = Mock(ClassLoaderScope) {
            1 * createChild("root-project[:]", null) >> rootProjectClassLoaderScope
        }
    
        @Rule
        public TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass())
    
        def setup() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 24 13:56:30 UTC 2022
    - 5.9K bytes
    - Viewed (0)
Back to top