Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for compilationClassPathOf (0.39 sec)

  1. platforms/core-configuration/kotlin-dsl-tooling-builders/src/main/kotlin/org/gradle/kotlin/dsl/tooling/builders/KotlinBuildScriptModelBuilder.kt

    internal
    val Project.settings
        get() = (gradle as GradleInternal).settings
    
    
    internal
    val Project.scriptCompilationClassPath
        get() = compilationClassPathOf((this as ProjectInternal).classLoaderScope)
    
    
    private
    fun Project.compilationClassPathOf(classLoaderScope: ClassLoaderScope) =
        serviceOf<KotlinScriptClassPathProvider>().safeCompilationClassPathOf(classLoaderScope, true) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 11:06:08 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  2. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/execution/InterpreterTest.kt

                    )
                } doAnswer {
                    it.getArgument<(File) -> Unit>(4).invoke(stage2CacheDir)
                    stage2CacheDir
                }
    
                on { compilationClassPathOf(any()) } doAnswer { testRuntimeClassPath }
                on { hashOf(eq(testRuntimeClassPath)) } doReturn compilationClassPathHash
    
                on { accessorsClassPathFor(any()) } doReturn accessorsClassPath
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 13:09:45 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  3. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/provider/KotlinScriptEvaluator.kt

                    .get()
            } catch (e: CacheOpenException) {
                throw e.cause as? ScriptCompilationException ?: e
            }
    
            override fun compilationClassPathOf(classLoaderScope: ClassLoaderScope): ClassPath =
                classPathProvider.compilationClassPathOf(classLoaderScope)
    
            override fun loadClassInChildScopeOf(
                classLoaderScope: ClassLoaderScope,
                childScopeId: String,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 10:23:24 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/Interpreter.kt

                accessorsClassPath: ClassPath,
                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
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 26 19:59:56 UTC 2023
    - 21.1K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleKotlinDslRuntimeGeneratedSources.java

            });
        }
    
        private File getKotlinDslExtensionsJar() {
            return getOnlyElement(
                getKotlinScriptClassPathProvider()
                    .compilationClassPathOf(getInputClassLoaderScope())
                    .getAsFiles()
                    .stream()
                    .filter(file -> file.getName().startsWith("gradle-kotlin-dsl-extensions"))
                    .collect(toList())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Mar 19 17:15:23 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/provider/KotlinScriptClassPathProvider.kt

         */
        private
        val gradleImplementationClassPath: Set<File> by lazy {
            cachedClassLoaderClassPath.of(coreAndPluginsScope.exportClassLoader)
        }
    
        fun compilationClassPathOf(scope: ClassLoaderScope): ClassPath =
            cachedScopeCompilationClassPath.computeIfAbsent(scope, ::computeCompilationClassPath)
    
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 12 19:16:36 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl/src/testFixtures/kotlin/org/gradle/kotlin/dsl/fixtures/SimplifiedKotlinScriptEvaluator.kt

                cacheDir.mkdirs()
                initializer(cacheDir)
            }
    
            override fun compilationClassPathOf(classLoaderScope: ClassLoaderScope): ClassPath =
                scriptCompilationClassPath
    
            override fun stage1BlocksAccessorsFor(scriptHost: KotlinScriptHost<*>): ClassPath =
                ClassPath.EMPTY
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 26 19:59:56 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl-tooling-builders/src/main/kotlin/org/gradle/kotlin/dsl/tooling/builders/internal/IsolatedProjectsSafeKotlinDslScriptsModelBuilder.kt

    }
    
    
    private
    fun GradleInternal.baseScriptClassPath(): ClassPath {
        return serviceOf<KotlinScriptClassPathProvider>()
            .compilationClassPathOf(baseProjectClassLoaderScope())
    }
    
    
    private
    fun ProjectInternal.gradleSourceRoots() =
        gradle.gradleHomeDir?.let { SourcePathProvider.sourceRootsOf(it, SourceDistributionResolver(this)) } ?: emptyList()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 11:06:08 UTC 2024
    - 12.7K bytes
    - Viewed (0)
Back to top