- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for withMutableStateOfAllProjects (0.33 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/api/internal/project/DefaultProjectStateRegistry.java
return projects; } @Override public void withMutableStateOfAllProjects(Runnable runnable) { withMutableStateOfAllProjects(Factories.toFactory(runnable)); } @Override public <T> T withMutableStateOfAllProjects(Factory<T> factory) { ResourceLock allProjectsLock = workerLeaseService.getAllProjectsLock(owner.getIdentityPath());
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 21K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/build/DefaultBuildWorkGraphController.java
} } if (tasks.isEmpty()) { return false; } controller.getGradle().getOwner().getProjects().withMutableStateOfAllProjects(() -> { createPlan(); controller.prepareToScheduleTasks(); controller.populateWorkGraph(plan, workGraph -> workGraph.addEntryTasks(tasks)); });
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 31 05:15:28 UTC 2023 - 11.3K 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)