Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 35 for targetScope (0.13 sec)

  1. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/execution/InterpreterTest.kt

                    verify(host).compilationClassPathOf(targetScope)
    
                    verify(host).startCompilerOperation(shortScriptDisplayName.displayName)
    
                    verify(compilerOperation).close()
    
                    verify(host).loadClassInChildScopeOf(
                        targetScope,
                        "kotlin-dsl:$scriptPath:$stage2TemplateId",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 13:09:45 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/configuration/project/BuildScriptProcessorTest.groovy

        def project = Mock(ProjectInternal)
        def scriptSource = Mock(ScriptSource)
        def configurerFactory = Mock(ScriptPluginFactory)
        def scriptPlugin = Mock(ScriptPlugin)
        def targetScope = Mock(ClassLoaderScope)
        def baseScope = Mock(ClassLoaderScope)
        def projectState = Mock(ProjectState)
        def buildScriptProcessor = new BuildScriptProcessor(configurerFactory)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 06 01:39:02 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/CrossBuildInMemoryCachingScriptClassCache.java

            Object target,
            ScriptSource source,
            ClassLoaderScope targetScope,
            CompileOperation<M> operation,
            Class<T> scriptBaseClass,
            Action<? super ClassNode> verifier,
            ScriptClassCompiler delegate
        ) {
            ScriptCacheKey key = new ScriptCacheKey(source.getClassName(), targetScope.getExportClassLoader(), operation.getId());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Dec 09 15:05:17 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/provider/ClassLoaderHierarchyTest.kt

                val targetScope = mock<AbstractClassLoaderScope> {
                    on { localClassLoader } doReturn loader
                    on { exportClassLoader } doReturn loader.parent
                    on { parent }.then { it.mock }
                    on { path }.then { "the path" }
                }
    
                val json = classLoaderHierarchyJsonFor(`class`, targetScope)
    
                val mapper = jacksonObjectMapper()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/groovy/scripts/DefaultScriptCompilerFactoryTest.groovy

            when:
            def compiler = factory.createCompiler(source)
            def result = compiler.compile(Script, target, targetScope, operation, verifier)
    
            then:
            result == runner
    
            1 * scriptClassCompiler.compile({ it instanceof CachingScriptSource}, Script, target, targetScope, operation, verifier) >> compiledScript
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Dec 09 15:05:17 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/groovy/scripts/internal/DefaultScriptCompilationHandlerTest.groovy

        private String scriptText
        private String scriptClassName
        private String scriptFileName
    
        private ClassLoader classLoader = getClass().getClassLoader()
        private ClassLoaderScope targetScope = new RootClassLoaderScope("test", getClass().classLoader, getClass().classLoader, new DummyClassLoaderCache(), Stub(ClassLoaderScopeRegistryListener))
    
        private Action<ClassNode> verifier = Actions.doNothing()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 07 08:24:10 UTC 2023
    - 19.4K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/provider/PluginRequestsHandler.kt

    ) {
    
        fun handle(
            pluginRequests: PluginRequests?,
            scriptHandler: ScriptHandlerInternal,
            target: PluginAwareInternal,
            targetScope: ClassLoaderScope
        ) {
            val initialRequests = pluginRequests ?: PluginRequests.EMPTY
            val autoAppliedPlugins = autoAppliedPluginHandler.getAutoAppliedPlugins(initialRequests, target)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 12 20:19:43 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/provider/KotlinScriptPluginFactory.kt

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

    import java.io.File
    import java.util.Optional
    
    
    interface KotlinScriptEvaluator {
    
        fun evaluate(
            target: Any,
            scriptSource: ScriptSource,
            scriptHandler: ScriptHandler,
            targetScope: ClassLoaderScope,
            baseScope: ClassLoaderScope,
            topLevelScript: Boolean,
            options: EvalOptions
        )
    }
    
    
    internal
    class StandardKotlinScriptEvaluator(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 10:23:24 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  10. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/provider/ClassLoaderHierarchy.kt

    typealias PathStringFormatter = (String) -> String
    
    
    internal
    fun classLoaderHierarchyJsonFor(
        klass: Class<*>,
        targetScope: ClassLoaderScope,
        pathFormatter: PathStringFormatter = { it }
    ) =
    
        classLoaderHierarchyJsonFor(
            hierarchyOf(klass.classLoader),
            hierarchyOf(targetScope),
            pathFormatter
        )
    
    
    private
    typealias ClassLoaderId = String
    
    
    private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 4.1K bytes
    - Viewed (0)
Back to top