Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for ClassLoaderScope (0.2 sec)

  1. 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)
  2. 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)
  3. subprojects/core/src/main/java/org/gradle/invocation/DefaultGradle.java

        public void setClassLoaderScope(Supplier<? extends ClassLoaderScope> classLoaderScope) {
            if (this.classLoaderScope != null) {
                throw new IllegalStateException("Class loader scope already used");
            }
            this.classLoaderScope = classLoaderScope;
        }
    
        @Override
        public ClassLoaderScope getClassLoaderScope() {
            if (classLoaderScope == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 05:18:22 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/accessors/AccessorsClassPath.kt

                        .get()
                }
    
    
        private
        fun configuredProjectSchemaOf(scriptTarget: Any, classLoaderScope: ClassLoaderScope): TypedProjectSchema? {
            require(classLoaderScope.isLocked) {
                "project.classLoaderScope must be locked before querying the project schema"
            }
            return projectSchemaProvider.schemaFor(scriptTarget)?.takeIf { it.isNotEmpty() }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 20:25:05 UTC 2024
    - 22K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/CrossProjectConfigurationReportingGradle.kt

        override fun getServices(): ServiceRegistry =
            delegate.services
    
        override fun setClassLoaderScope(classLoaderScope: Supplier<out ClassLoaderScope>) {
            delegate.setClassLoaderScope(classLoaderScope)
        }
    
        override fun getClassLoaderScope(): ClassLoaderScope =
            delegate.classLoaderScope
    
        override fun setIncludedBuilds(includedBuilds: MutableCollection<out IncludedBuildInternal>) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/api/internal/project/DefaultProjectStateRegistryTest.groovy

            rootState.createMutableModel(Stub(ClassLoaderScope), Stub(ClassLoaderScope))
    
            def project = project("p1")
            def state = registry.stateFor(projectId("p1"))
    
            1 * projectFactory.createProject(_, _, state, _, _, _, _) >> project
    
            state.createMutableModel(Stub(ClassLoaderScope), Stub(ClassLoaderScope))
    
            expect:
            rootState.mutableModel == rootProject
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/configuration/ScriptPluginFactorySelector.java

            this.scriptSourceListener = scriptSourceListener;
        }
    
        @Override
        public ScriptPlugin create(
            ScriptSource scriptSource, ScriptHandler scriptHandler, ClassLoaderScope targetScope,
            ClassLoaderScope baseScope, boolean topLevelScript
        ) {
            scriptSourceListener.scriptSourceObserved(scriptSource);
            ScriptPlugin scriptPlugin = scriptPluginFactoryFor(scriptSource.getFileName())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 07:44:44 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  10. platforms/extensibility/plugin-use/src/main/java/org/gradle/plugin/use/resolve/service/internal/DefaultInjectedClasspathPluginResolver.java

        private final ScriptClassPathResolver scriptClassPathResolver;
        private final ClassLoaderScope parentScope;
        private final PluginInspector pluginInspector;
        private final Lazy<PluginRegistry> pluginRegistry;
    
        public DefaultInjectedClasspathPluginResolver(
            ClassLoaderScope parentScope,
            ScriptClassPathResolver scriptClassPathResolver,
            FileCollectionFactory fileCollectionFactory,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 08:19:55 UTC 2024
    - 7.4K bytes
    - Viewed (0)
Back to top