Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for ClassLoaderScope (0.27 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/Interpreter.kt

                initializer: (File) -> Unit
            ): File
    
            fun startCompilerOperation(
                description: String
            ): AutoCloseable
    
            fun compilationClassPathOf(
                classLoaderScope: ClassLoaderScope
            ): ClassPath
    
            /**
             * Provides an additional [ClassPath] to be used in the compilation of a top-level [Project] script
             * `buildscript` or `plugins` block.
             *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 26 19:59:56 UTC 2023
    - 21.1K bytes
    - Viewed (0)
  6. 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)
  7. platforms/core-configuration/kotlin-dsl-tooling-builders/src/main/kotlin/org/gradle/kotlin/dsl/tooling/builders/KotlinBuildScriptModelBuilder.kt

        get() = compilationClassPathOf((this as ProjectInternal).classLoaderScope)
    
    
    private
    fun Project.compilationClassPathOf(classLoaderScope: ClassLoaderScope) =
        serviceOf<KotlinScriptClassPathProvider>().safeCompilationClassPathOf(classLoaderScope, true) {
            (this as ProjectInternal).gradle
        }
    
    
    private
    inline fun KotlinScriptClassPathProvider.safeCompilationClassPathOf(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 11:06:08 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top