Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 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. 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)
  4. 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)
  5. subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/DefaultScriptCompilationHandler.java

            private final ClassPath scriptClassPath;
            private final ClassLoaderScope targetScope;
            private final ScriptSource source;
            private final HashCode sourceHashCode;
            private final M metadata;
            private Class<? extends T> scriptClass;
            private ClassLoaderScope scope;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  6. platforms/extensibility/plugin-development/src/main/java/org/gradle/plugin/devel/internal/precompiled/GeneratePluginAdaptersTask.java

            }
        }
    
        private CompiledScript<PluginsAwareScript, ?> loadCompiledPluginsBlocks(PrecompiledGroovyScript scriptPlugin) {
            ClassLoaderScope classLoaderScope = getClassLoaderScopeRegistry().getCoreAndPluginsScope();
            CompileOperation<?> pluginsCompileOperation = getCompileOperationFactory().getPluginsBlockCompileOperation(scriptPlugin.getScriptTarget());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 22:50:50 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ProblemReportingCrossProjectModelAccess.kt

            override fun getModelRegistry(): ModelRegistry {
                shouldNotBeUsed()
            }
    
            override fun getClassLoaderScope(): ClassLoaderScope {
                shouldNotBeUsed()
            }
    
            override fun getBaseClassLoaderScope(): ClassLoaderScope {
                shouldNotBeUsed()
            }
    
            override fun setScript(script: Script) {
                shouldNotBeUsed()
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/DefaultConfigurationCache.kt

        private
        fun <T : Any> loadFromCache(stateType: StateType, action: (ConfigurationCacheStateFile) -> Pair<LoadResult, T>): T {
            prepareConfigurationTimeBarrier()
    
            // No need to record the `ClassLoaderScope` tree
            // when loading the task graph.
            scopeRegistryListener.dispose()
    
            val result = buildOperationRunner.withLoadOperation {
                store.useForStateLoad(stateType, action)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 24.3K bytes
    - Viewed (0)
Back to top