Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for ClassLoaderScope (0.18 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. 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)
  4. 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)
  5. 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)
  6. subprojects/core/src/main/java/org/gradle/api/internal/initialization/ImmutableClassLoaderScope.java

    public class ImmutableClassLoaderScope extends AbstractClassLoaderScope {
        private final ClassLoaderScope parent;
        private final ClassPath classPath;
        @Nullable
        private final HashCode classpathImplementationHash;
        private final ClassLoader localClassLoader;
    
        public ImmutableClassLoaderScope(
            ClassLoaderScopeIdentifier id,
            ClassLoaderScope parent,
            @Nullable ClassLoaderScopeOrigin origin,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 12 20:19:43 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/initialization/ClassLoaderScopeRegistryListener.java

    import org.gradle.internal.service.scopes.Scope;
    
    import javax.annotation.Nullable;
    
    
    /**
     * Listens to changes to the ClassLoaderScope tree.
     *
     * @see ClassLoaderScopeRegistry
     * @see ClassLoaderScope
     */
    @EventScope(Scope.UserHome.class)
    public interface ClassLoaderScopeRegistryListener {
    
        void childScopeCreated(ClassLoaderScopeId parentId, ClassLoaderScopeId childId, @Nullable ClassLoaderScopeOrigin origin);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/KotlinScriptHost.kt

    
    class KotlinScriptHost<out T : Any> internal constructor(
        val target: T,
        val scriptSource: ScriptSource,
        internal val scriptHandler: ScriptHandler,
        internal val targetScope: ClassLoaderScope,
        private val baseScope: ClassLoaderScope,
        private val serviceRegistry: ServiceRegistry
    ) {
    
        internal
        val fileName = scriptSource.fileName!!
    
        internal
        val fileOperations: FileOperations by unsafeLazy {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 13:09:45 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/api/internal/SettingsInternal.java

        /**
         * The parent scope for this and all settings objects.
         *
         * Gradle runtime.
         */
        ClassLoaderScope getBaseClassLoaderScope();
    
        /**
         * The scope for this settings object.
         *
         * Gradle runtime + this object's script's additions.
         */
        ClassLoaderScope getClassLoaderScope();
    
        ServiceRegistry getServices();
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 08:36:37 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/serialize/DefaultClassDecoder.kt

            classes.putInstance(id, newType)
            return newType
        }
    
        private
        fun ReadContext.readScope(): ClassLoaderScope {
            val id = readSmallInt()
            val scope = scopes.getInstance(id)
            if (scope != null) {
                return scope as ClassLoaderScope
            }
    
            val parent = if (readBoolean()) {
                readScope()
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top