feat: add Gradle cache to Android release builds (#251) #252

Closed
guettlibot wants to merge 0 commits from issue-251-fix into main
guettlibot commented 2026-05-25 16:51:06 +00:00 (Migrated from codeberg.org)

Summary

  • Introduce androidBase() helper that wraps setup(androidSrc()) with the Gradle named-cache volume
  • Introduce firebaseBase() helper that wraps setup(firebaseSrc()) with the Gradle named-cache volume
  • Update BuildAndroidRelease(), setupKeystore(), and BuildAndroidDebugApks() to use these helpers

This mirrors the cache pattern already present in BuildAndroidDebugApks() and extends it consistently to all Android build functions. Gradle dependencies will now survive Dagger execution-cache misses instead of being re-downloaded from scratch on every source change.

Fixes bottleneck 1 from #244 — expected ~5–10 min savings on source-change runs.

Test plan

  • CI passes on this branch
  • Verify Android release build (BuildAndroidRelease) reuses cached Gradle deps on re-runs
  • Verify APK build (setupKeystore / BuildAndroidApk) reuses cached Gradle deps

🤖 Generated with Claude Code

## Summary - Introduce `androidBase()` helper that wraps `setup(androidSrc())` with the Gradle named-cache volume - Introduce `firebaseBase()` helper that wraps `setup(firebaseSrc())` with the Gradle named-cache volume - Update `BuildAndroidRelease()`, `setupKeystore()`, and `BuildAndroidDebugApks()` to use these helpers This mirrors the cache pattern already present in `BuildAndroidDebugApks()` and extends it consistently to all Android build functions. Gradle dependencies will now survive Dagger execution-cache misses instead of being re-downloaded from scratch on every source change. Fixes bottleneck 1 from #244 — expected ~5–10 min savings on source-change runs. ## Test plan - [ ] CI passes on this branch - [ ] Verify Android release build (BuildAndroidRelease) reuses cached Gradle deps on re-runs - [ ] Verify APK build (setupKeystore / BuildAndroidApk) reuses cached Gradle deps 🤖 Generated with [Claude Code](https://claude.com/claude-code)
guettlibot commented 2026-05-26 13:17:07 +00:00 (Migrated from codeberg.org)

Already merged into main (commit 63f7463c). Closing.

Already merged into main (commit 63f7463c). Closing.

Pull request closed

Please reopen this pull request to perform a merge.
Sign in to join this conversation.