Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for hasChildren (0.09 sec)

  1. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/CachedBuildState.kt

    data class BuildToStore(
        val build: VintageGradleBuild,
        // Does this build have work scheduled?
        val hasWork: Boolean,
        // Does this build have a child build with work scheduled?
        val hasChildren: Boolean
    ) {
        fun hasChildren() = BuildToStore(build, hasWork, true)
    }
    
    
    /**
     * State cached for a build in the tree.
     */
    internal
    sealed class CachedBuildState(
        val identityPath: Path,
    )
    
    
    /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheState.kt

                if (build.hasScheduledWork && state is StandAloneNestedBuild) {
                    // Also require the owner of a buildSrc build
                    builds[state.owner] = builds.getValue(state.owner).hasChildren()
                }
            }
            writeCollection(builds.values) { build ->
                writeBuildState(
                    build,
                    StoredBuildTreeState(requiredBuildServicesPerBuild),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 34.8K bytes
    - Viewed (0)
Back to top