Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 83 for ClassLoaderScope (0.23 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/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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. subprojects/core/src/main/java/org/gradle/api/internal/GradleInternal.java

         *
         * @throws IllegalStateException if called before {@link #setBaseProjectClassLoaderScope(ClassLoaderScope)}
         */
        ClassLoaderScope baseProjectClassLoaderScope();
    
        /**
         * @throws IllegalStateException if called more than once
         */
        void setBaseProjectClassLoaderScope(ClassLoaderScope classLoaderScope);
    
        @Override
        StartParameterInternal getStartParameter();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/api/internal/initialization/AbstractClassLoaderScope.java

        }
    
        /**
         * A string representing the path of this {@link ClassLoaderScope} in the {@link ClassLoaderScope} graph.
         */
        public String getPath() {
            return id.getPath();
        }
    
        @Override
        public ClassLoaderScope local(ClassPath classPath) {
            return immutable();
        }
    
        @Override
        public ClassLoaderScope export(ClassPath classPath) {
            return immutable();
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. subprojects/core/src/test/groovy/org/gradle/initialization/DefaultSettingsLoaderTest.groovy

        def buildLayoutFactory = Mock(BuildLayoutFactory)
        def settingsScript = Mock(ScriptSource)
        def startParameter = new StartParameterInternal()
        def classLoaderScope = Mock(ClassLoaderScope)
        def settingsProcessor = Mock(SettingsProcessor)
        def buildInCommand = Mock(BuiltInCommand)
        def settingsHandler = new DefaultSettingsLoader(settingsProcessor, buildLayoutFactory, [buildInCommand])
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 14 20:50:34 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/initialization/DependenciesAccessors.java

    import org.gradle.api.internal.initialization.ClassLoaderScope;
    import org.gradle.api.internal.project.ProjectInternal;
    import org.gradle.api.model.ObjectFactory;
    import org.gradle.internal.classpath.ClassPath;
    
    import java.util.List;
    import java.util.Map;
    
    public interface DependenciesAccessors {
        void generateAccessors(List<VersionCatalogBuilder> builders, ClassLoaderScope classLoaderScope, Settings settings);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jan 28 14:20:03 UTC 2023
    - 1.5K bytes
    - Viewed (0)
Back to top