Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for withMutableStateOfAllProjects (0.4 sec)

  1. 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)
  2. 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)
  3. 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)
  4. subprojects/core/src/test/groovy/org/gradle/execution/taskgraph/DefaultTaskExecutionGraphSpec.groovy

                } else if (node instanceof SelfExecutingNode) {
                    return true
                } else {
                    return false
                }
            }
            _ * projectStateRegistry.withMutableStateOfAllProjects(_) >> { Runnable r -> r.run() }
        }
    
        def cleanup() {
            parentWorkerLease.leaseFinish()
            workerLeases.stop()
        }
    
        def "collects task failures"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 20.6K bytes
    - Viewed (0)
Back to top