- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 162 for stage1 (0.12 sec)
-
testing/soak/src/integTest/kotlin/org/gradle/kotlin/dsl/caching/fixtures/CompilationCache.kt
stage1 = CachedScript.CompilationStage(Gradle, ScriptPlugin, "stage1", Descriptions.script, file), stage2 = CachedScript.CompilationStage(Gradle, ScriptPlugin, "stage2", Descriptions.script, file, hasInitscriptBlock && hasBody) ) fun cachedSettingsFile(file: File, hasBuildscriptBlock: Boolean = false, hasBody: Boolean = false) = CachedScript.WholeFile(
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 4.3K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/Program.kt
/** * A script that must be dynamically evaluated after stage 1 completes and the script classpath * becomes available. */ data class Script(val source: ProgramSource) : Program() /** * A [Stage1] program followed by a stage 2 [Script] program. */ data class Staged(val stage1: Stage1, val stage2: Script) : Program() /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 2.9K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/PartialEvaluator.kt
else -> CloseTargetScope } private fun reduceStagedProgram(program: Program.Staged): Dynamic = Dynamic( reduceStage1Program(program.stage1), program.stage2.source ) private fun reduceStage1Program(stage1: Program.Stage1): Static = when (stage1) { is Program.Buildscript -> when (programTarget) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 7.5K bytes - Viewed (0) -
testing/soak/src/integTest/kotlin/org/gradle/kotlin/dsl/caching/fixtures/KotlinDslCacheFixtures.kt
} sealed class CachedScript { class WholeFile( val stage1: CompilationStage, val stage2: CompilationStage ) : CachedScript() { val stages = listOf(stage1, stage2) } class CompilationStage( programTarget: ProgramTarget, programKind: ProgramKind, val stage: String, sourceDescription: String, val file: File,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2.3K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/ProgramParser.kt
) } val stage2 = remainingSource .takeIf { it.text.isNotBlank() } ?.let(Program::Script) stage1?.let { s1 -> stage2?.let { s2 -> Program.Staged(s1, s2) } ?: s1 } ?: stage2 ?: Program.Empty } } private
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 6.3K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/execution/InterpreterTest.kt
val accessorsClassPathHash = TestHashCodes.hashCodeFrom(0) val accessorsClassPath = ClassPath.EMPTY val stage1TemplateId = "Settings/TopLevel/stage1" val stage2TemplateId = "Settings/TopLevel/stage2" val scriptSourceResource = mock<TextResource> { on { getText() } doReturn text } val scriptSource = mock<ScriptSource> { on { fileName } doReturn scriptPath
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 01 13:09:45 UTC 2024 - 9.2K bytes - Viewed (0) -
testing/soak/src/integTest/kotlin/org/gradle/kotlin/dsl/caching/fixtures/CompilationTrace.kt
"Unexpected operation `$description`!" } } private fun operationDescription(stage: CachedScript.CompilationStage) = "Compile script ${stage.file.name} (${descriptionOf(stage)})" private fun descriptionOf(stage: CachedScript.CompilationStage) = if (stage.stage == "stage1") "CLASSPATH" else "BODY"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.7K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/ResidualProgram.kt
val source: Program.Plugins? = null ) : StageTransition, Instruction() /** * An instruction that marks the transition from stage 1 to stage 2 by causing the * target scope to be closed thus making the resolved classpath available to stage 2. * * A valid [Static] program must contain one and only one [StageTransition] instruction. */ interface StageTransition
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 4K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl-provider-plugins/src/main/kotlin/org/gradle/kotlin/dsl/provider/plugins/precompiled/tasks/ExtractPrecompiledScriptPluginPlugins.kt
private fun pluginsBlockOf(program: Program): Program.Plugins? = when (program) { is Program.Plugins -> program is Program.Stage1Sequence -> program.plugins is Program.Staged -> pluginsBlockOf(program.stage1) else -> null } private fun parse(scriptPlugin: PrecompiledScriptPlugin): Program = ProgramParser.parse( ProgramSource(scriptPlugin.scriptFileName, scriptPlugin.scriptText),
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 4.3K bytes - Viewed (0) -
.teamcity/src/main/kotlin/projects/StageProject.kt
if (smokeTests.size > 1) { buildType(PartialTrigger("All Smoke Tests for ${stage.stageName.stageName}", "Stage_${stage.stageName.id}_SmokeTests", model, smokeTests)) } if (crossVersionTests.size > 1) { buildType(PartialTrigger("All Cross-Version Tests for ${stage.stageName.stageName}", "Stage_${stage.stageName.id}_CrossVersionTests", model, crossVersionTests)) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Dec 05 00:08:14 UTC 2023 - 9.2K bytes - Viewed (0)