Skip to content

Conversation

omarismail94
Copy link

@omarismail94 omarismail94 commented Sep 30, 2025

Add a Runtime switch that determines whether the build attempts to upload entries to the remote build cache. Unlike [org.gradle.caching.configuration.BuildCache.isPush], this flag is not part of the Gradle Configuration Cache model’s fingerprint and is only used at execution time. Keeping push = true in settings.gradle[.kts] and gating uploads with this property allows you to toggle pushing without invalidating the configuration cache

@omarismail94 omarismail94 force-pushed the main branch 2 times, most recently from 021e8e1 to 2e8654b Compare October 2, 2025 18:25
@omarismail94 omarismail94 changed the title Make isPush lazy Introduce a lazy way to determine upload (runtimePush) Oct 2, 2025
@omarismail94 omarismail94 changed the title Introduce a lazy way to determine upload (runtimePush) Introduce a lazy way to determine upload (runtimePush) for GcpBuildCache Oct 2, 2025
@omarismail94 omarismail94 changed the title Introduce a lazy way to determine upload (runtimePush) for GcpBuildCache Introduce a lazy way to determine upload (runtimePush) Oct 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant