- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for withMutableStateOfAllProjects (0.4 sec)
-
subprojects/core/src/test/groovy/org/gradle/api/internal/project/DefaultProjectStateRegistryTest.groovy
def projects = registry.projectsFor(build.buildIdentifier) expect: !state.hasMutableState() and: projects.withMutableStateOfAllProjects { assert state.hasMutableState() projects.withMutableStateOfAllProjects { assert state.hasMutableState() } assert state.hasMutableState() } and:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 05 16:29:26 UTC 2024 - 24.6K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/initialization/DefaultTaskExecutionPreparer.java
} @Override public void scheduleRequestedTasks(GradleInternal gradle, @Nullable EntryTaskSelector selector, ExecutionPlan plan) { gradle.getOwner().getProjects().withMutableStateOfAllProjects(() -> { buildTaskScheduler.scheduleRequestedTasks(gradle, selector, plan); if (buildModelParameters.isConfigureOnDemand() && gradle.isRootBuild()) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 13:46:07 UTC 2024 - 2.1K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/execution/taskgraph/DefaultTaskExecutionGraph.java
} private void fireWhenReady() { // We know that we're running single-threaded here, so we can use coarse grained project locks gradleInternal.getOwner().getProjects().withMutableStateOfAllProjects( () -> buildOperationRunner.run( new NotifyTaskGraphWhenReady(DefaultTaskExecutionGraph.this, graphListeners.getSource(), gradleInternal) ) ); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 13:46:07 UTC 2024 - 15.2K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheState.kt
write(state.identityPath) } // Encode the build state using the contextualized IO service for the nested build state.projects.withMutableStateOfAllProjects { gradle.serviceOf<ConfigurationCacheIO>().writeIncludedBuildStateTo( stateFileFor(state.buildDefinition), buildTreeState ) } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:30 UTC 2024 - 34.8K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/DefaultConfigurationCache.kt
configurationTimeBarrier.cross() } private fun writeConfigurationCacheState(stateFile: ConfigurationCacheStateFile) = host.currentBuild.gradle.owner.projects.withMutableStateOfAllProjects { cacheIO.writeRootBuildStateTo(stateFile) } private fun writeConfigurationCacheFingerprint(layout: ConfigurationCacheRepository.Layout, reusedProjects: Set<Path>) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:30 UTC 2024 - 24.3K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/execution/taskgraph/DefaultTaskExecutionGraphSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 05 16:29:26 UTC 2024 - 20.6K bytes - Viewed (0)