Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 59 for createChild (0.36 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-execution/snapshots/src/main/java/org/gradle/internal/snapshot/EmptyChildMap.java

        }
    
        @Override
        public ChildMap<T> store(VfsRelativePath targetPath, CaseSensitivity caseSensitivity, StoreHandler<T> storeHandler) {
            return new SingletonChildMap<>(targetPath.getAsString(), storeHandler.createChild());
        }
    
        @Override
        public boolean isEmpty() {
            return true;
        }
    
        @Override
        public int size() {
            return 0;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 23 13:19:32 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/api/internal/plugins/PluginRegistry.java

        /**
         * Locates the plugin with the given id. Note that the id of the result may be different to the requested id.
         */
        @Nullable
        PluginImplementation<?> lookup(PluginId pluginId);
    
        PluginRegistry createChild(ClassLoaderScope lookupScope);
    
        /**
         * Finds the plugin id which corresponds to the supplied class name.
         * @param clazz the class to look for
         * @return the plugin id for this class.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 25 08:50:30 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/configuration/DefaultInitScriptProcessor.java

            URI uri = initScript.getResource().getLocation().getURI();
            String id = uri == null ? idGenerator.generateId().toString() : uri.toString();
            ClassLoaderScope scriptScope = baseScope.createChild("init-" + id, null);
            ScriptHandler scriptHandler = scriptHandlerFactory.create(initScript, scriptScope);
            ScriptPlugin configurer = configurerFactory.create(initScript, scriptHandler, scriptScope, baseScope, true);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 24 13:56:30 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  6. 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)
  7. subprojects/core/src/main/java/org/gradle/initialization/SettingsFactory.java

            GradleProperties gradleProperties,
            StartParameter startParameter,
            ClassLoaderScope baseClassLoaderScope
        ) {
            ClassLoaderScope classLoaderScope = baseClassLoaderScope.createChild("settings[" + gradle.getIdentityPath() + "]", null);
            SettingsServiceRegistryFactory serviceRegistryFactory = new SettingsServiceRegistryFactory();
            DefaultSettings settings = instantiator.newInstance(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 03 11:21:54 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/groovy/scripts/DefaultScriptCompilerFactoryTest.groovy

            getResource() >> Stub(TextResource)
        }
        final ScriptRunner<TestScript, ?> runner = Mock()
        final ClassLoader classLoader = Mock()
        final ClassLoaderScope targetScope = Stub() {
            createChild(_) >> Stub(ClassLoaderScope)
            getExportClassLoader() >> classLoader
        }
        final CompileOperation<?> operation = Mock() {
            getId() >> "id"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Dec 09 15:05:17 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  9. subprojects/core/src/test/groovy/org/gradle/configuration/DefaultInitScriptProcessorTest.groovy

            def scriptHandler = Mock(ScriptHandlerInternal)
            def scriptPlugin = Mock(ScriptPlugin)
    
            1 * gradleMock.getClassLoaderScope() >> gradleScope
            1 * gradleScope.createChild("init-$uri", null) >> siblingScope
    
            1 * scriptHandlerFactory.create(initScriptMock, siblingScope) >> scriptHandler
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 24 13:56:30 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  10. 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)
Back to top