Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 94 for ClassLoaderScope (0.45 sec)

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

            GradleInternal gradle,
            StartParameter startParameter,
            SettingsLocation settingsLocation,
            ClassLoaderScope classLoaderScope
        ) {
            SettingsState state = settingsProcessor.process(gradle, settingsLocation, classLoaderScope, startParameter);
            validate(state.getSettings());
            return state;
        }
    
        private void validate(SettingsInternal settings) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 14 20:50:34 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  5. 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)
  6. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/provider/KotlinScriptPluginFactory.kt

    ) : ScriptPluginFactory {
    
        override fun create(
            scriptSource: ScriptSource,
            scriptHandler: ScriptHandler,
            targetScope: ClassLoaderScope,
            baseScope: ClassLoaderScope,
            topLevelScript: Boolean
        ): ScriptPlugin =
    
            KotlinScriptPlugin(scriptSource) { target ->
    
                kotlinScriptEvaluator
                    .evaluate(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/ClassLoaderScopeExtensions.kt

    import org.gradle.api.internal.initialization.ClassLoaderScope
    
    
    internal
    inline fun <T> ClassLoaderScope.foldHierarchy(initial: T, operation: (T, ClassLoaderScope) -> T): T {
        var result = initial
        traverseHierarchy { result = operation(result, it) }
        return result
    }
    
    
    internal
    inline fun ClassLoaderScope.traverseHierarchy(action: (ClassLoaderScope) -> Unit) {
        action(this)
        traverseAncestors(action)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top