- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for AccessorsClassPath (0.33 sec)
-
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/accessors/AccessorsClassPath.kt
scriptTarget.getOrCreateProperty("gradleKotlinDsl.accessorsClassPath") { buildAccessorsClassPathFor(scriptTarget, classPath) ?: AccessorsClassPath.empty } private fun buildAccessorsClassPathFor(scriptTarget: Any, classPath: ClassPath): AccessorsClassPath? = classLoaderScopeOf(scriptTarget)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 05 20:25:05 UTC 2024 - 22K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl-tooling-builders/src/main/kotlin/org/gradle/kotlin/dsl/tooling/builders/internal/IsolatedProjectsSafeKotlinDslScriptsModelBuilder.kt
val accessorsClassPath = rootProject.serviceOf<ClassPathModeExceptionCollector>().runCatching { settings.accessorsClassPathOf(scriptCompilationClassPath) } ?: AccessorsClassPath.empty return NonProjectScriptModel( settingsScript, scriptCompilationClassPath + accessorsClassPath.bin,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 02 11:06:08 UTC 2024 - 12.7K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl-tooling-builders/src/main/kotlin/org/gradle/kotlin/dsl/tooling/builders/KotlinBuildScriptModelBuilder.kt
private data class KotlinScriptTargetModelBuilder( val scriptFile: File?, val project: Project, val scriptClassPath: ClassPath, val accessorsClassPath: (ClassPath) -> AccessorsClassPath = { AccessorsClassPath.empty }, val sourceLookupScriptHandlers: List<ScriptHandler> = emptyList(), val enclosingScriptProjectDir: File? = null, val additionalImports: () -> List<String> = { emptyList() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 02 11:06:08 UTC 2024 - 17.8K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/accessors/Stage1BlocksAccessorClassPath.kt
) executionEngine.createRequest(work) .execute() .getOutputAs(AccessorsClassPath::class.java) .get() } ?: AccessorsClassPath.empty private val catalogExtensionBaseType = typeOf<ExternalModuleDependencyFactory>() private fun generatePluginSpecBuildersAccessors(
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 23 18:58:57 UTC 2023 - 8K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/execution/InterpreterTest.kt
on { accessorsClassPathFor(any()) } doReturn accessorsClassPath on { hashOf(eq(accessorsClassPath)) } doReturn accessorsClassPathHash on { loadClassInChildScopeOf(any(), any(), any(), any(), any(), same(accessorsClassPath)) } doAnswer { val location = it.getArgument<File>(3)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 01 13:09:45 UTC 2024 - 9.2K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/Interpreter.kt
origin = ClassLoaderScopeOrigin.Script(scriptSource.fileName, scriptSource.longDisplayName, scriptSource.shortDisplayName), accessorsClassPath = accessorsClassPath, location = classesDir, className = "Program" ) } private val defaultProgramHost = ProgramHost() private
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 26 19:59:56 UTC 2023 - 21.1K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/execution/ResidualProgramCompilerTest.kt
val target = mock<Project>() val scriptHost = scriptHostWith(target) val accessorsClassPath = mock<ClassPath>() val programHost = safeMockProgramHost { on { accessorsClassPathFor(scriptHost) } doReturn accessorsClassPath } withExecutableProgramFor( Dynamic(Static(ApplyDefaultPluginRequests, ApplyBasePlugins), source),
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 01 13:09:45 UTC 2024 - 22.4K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/ExecutableProgram.kt
sourceHash: HashCode, accessorsClassPath: ClassPath ) fun compileSecondStageOf( program: StagedProgram, scriptHost: KotlinScriptHost<*>, programId: ProgramId, programKind: ProgramKind, programTarget: ProgramTarget, accessorsClassPath: ClassPath ): CompiledScript
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 3.1K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl-tooling-builders/src/crossVersionTest/groovy/org/gradle/kotlin/dsl/tooling/builders/r88/KotlinSettingsScriptModelCrossVersionSpec.groovy
myProperty = 42 } println(mySettingsExtension.myProperty) """) when: def accessorsClassPath = accessorsClassPathFor(settingsFileKts) then: !accessorsClassPath.isEmpty() } private List<File> accessorsClassPathFor(File buildFile) { return classPathFor(projectDir, buildFile) .tap { println(it) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 21 13:31:47 UTC 2024 - 2.5K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/provider/KotlinScriptEvaluator.kt
accessorsClassPath: ClassPath, initializer: (File) -> Unit ): File = try { executionEngineFor(scriptHost) .createRequest( KotlinScriptCompilationAndInstrumentation( programId, compilationClassPath, accessorsClassPath, initializer,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 10:23:24 UTC 2024 - 17.1K bytes - Viewed (0)