Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 116 for ClassLoaderScope (0.15 sec)

  1. subprojects/core/src/main/java/org/gradle/api/internal/initialization/ClassLoaderScope.java

         *
         * @return this
         */
        ClassLoaderScope local(ClassPath classPath);
    
        /**
         * Makes the provided classes visible to this scope and its children. The classes are loaded in their own ClassLoader whose parent is the export ClassLoader
         * of the parent scope.
         *
         * <p>Can not be called after being locked.
         *
         * @return this
         */
        ClassLoaderScope export(ClassPath classPath);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 12 20:19:43 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/api/internal/plugins/DefaultPluginRegistry.java

        private final ClassLoaderScope classLoaderScope;
    
        private final LoadingCache<Class<?>, PluginImplementation<?>> classMappings;
        private final LoadingCache<PluginIdLookupCacheKey, Optional<PluginImplementation<?>>> idMappings;
    
        public DefaultPluginRegistry(PluginInspector pluginInspector, ClassLoaderScope classLoaderScope) {
            this(null, pluginInspector, classLoaderScope);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 07:52:06 UTC 2021
    - 10.4K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/initialization/DefaultSettings.java

            GradleInternal gradle,
            ClassLoaderScope classLoaderScope,
            ClassLoaderScope baseClassLoaderScope,
            ScriptHandler settingsScriptHandler,
            File settingsDir,
            ScriptSource settingsScript,
            StartParameter startParameter
        ) {
            this.gradle = gradle;
            this.classLoaderScope = classLoaderScope;
            this.baseClassLoaderScope = baseClassLoaderScope;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 18:31:24 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/initialization/BuildOperationSettingsProcessorTest.groovy

        def gradleInternal = Mock(GradleInternal)
        def settingsLocation = Mock(SettingsLocation)
        def buildOperationScriptPlugin = new BuildOperationSettingsProcessor(settingsProcessor, buildOperationRunner)
        def classLoaderScope = Mock(ClassLoaderScope)
        def startParameter = Mock(StartParameter)
        def state = Mock(SettingsState)
        def settingsInternal = Mock(SettingsInternal)
        def rootDir = new File("root")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/initialization/InstantiatingBuildLoader.java

        }
    
        private void createChildProjectsRecursively(BuildState owner, DefaultProjectDescriptor parentProjectDescriptor, ClassLoaderScope parentProjectClassLoaderScope, ClassLoaderScope baseProjectClassLoaderScope) {
            for (DefaultProjectDescriptor childProjectDescriptor : parentProjectDescriptor.children()) {
                ClassLoaderScope childProjectClassLoaderScope = parentProjectClassLoaderScope.createChild("project-" + childProjectDescriptor.getName(), null);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 24 13:56:30 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  6. platforms/extensibility/plugin-use/src/main/java/org/gradle/plugin/use/internal/DefaultPluginRequestApplicator.java

            if (target == null || requests.isEmpty()) {
                classLoaderScope.export(scriptHandler.getInstrumentedScriptClassPath());
                classLoaderScope.lock();
                return;
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Jan 14 04:49:39 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  7. 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))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/api/internal/initialization/ScriptHandlerFactory.java

    import org.gradle.groovy.scripts.ScriptSource;
    
    public interface ScriptHandlerFactory {
        ScriptHandlerInternal create(ScriptSource scriptSource, ClassLoaderScope classLoaderScope);
    
        ScriptHandlerInternal create(ScriptSource scriptSource, ClassLoaderScope classLoaderScope, DomainObjectContext context);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 1K bytes
    - Viewed (0)
  9. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/provider/KotlinScriptEvaluator.kt

                throw e.cause as? ScriptCompilationException ?: e
            }
    
            override fun compilationClassPathOf(classLoaderScope: ClassLoaderScope): ClassPath =
                classPathProvider.compilationClassPathOf(classLoaderScope)
    
            override fun loadClassInChildScopeOf(
                classLoaderScope: ClassLoaderScope,
                childScopeId: String,
                origin: ClassLoaderScopeOrigin,
                location: File,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 10:23:24 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  10. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/provider/ClassLoaderHierarchy.kt

                        "isLocked" to it.isLocked
                    )
                }
            )
        )
    }
    
    
    private
    fun hierarchyOf(initialScope: ClassLoaderScope): List<ClassLoaderScope> =
        initialScope.foldHierarchy(arrayListOf<ClassLoaderScope>()) { result, scope ->
            result.apply { add(scope) }
        }
    
    
    private
    fun hierarchyOf(classLoader: ClassLoader): ArrayList<ClassLoaderNode> {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 4.1K bytes
    - Viewed (0)
Back to top