Signing config and version metadata come from the environment, so no keystore or credentials live in the repo. signingConfig resolves to null when unset rather than falling back to the debug key, so a local release build comes out unsigned instead of undistributable-but-looking-fine. versionCode is derived from the git tag to keep it monotonic and aligned with the version users see. CI asserts Play Services and Firebase stay out of the dependency tree, which the spec requires but nothing else enforces. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
tern-android
Android client for Tern — see docs/android-client-spec.md and docs/branding-spec.md.
Status: thin scaffold. The server (IMAP sync + REST API) was the priority for this first pass, and the Android client is the last item in the build order anyway (server-architecture-spec.md §9, item 8). What's here:
- Jetpack Compose + Material 3, Kotlin, no Play Services/Firebase anywhere in the dependency tree (§7 — hard constraint).
- Dynamic color (Material You) with the branding doc's static palette as the fallback (§2).
- Edge-to-edge drawing,
SplashScreenAPI, predictive back enabled in the manifest (§3, §6). - Adaptive-layout dependencies present for the list-detail scaffold (§4), not yet used.
- Adaptive launcher icon with a monochrome/themed variant (§2 / branding §2) — placeholder wing mark, since the real icon design is still an open item in the branding doc.
allowBackup="false"— the mail cache shouldn't land in cloud backups (§7).
Not built yet: the list-detail mail UI, Room cache, UnifiedPush receiver + MessagingStyle notifications, swipe actions, biometric app-lock, first-run/account-setup flow. All of those depend on client-facing server work that also isn't finished.
Building
./gradlew assembleDebug
Needs an Android SDK (ANDROID_HOME / local.properties). Version pins (AGP 8.7, Kotlin 2.0.21, Compose BOM 2024.10.01, compileSdk 35) are deliberately conservative — Android Studio may offer an AGP upgrade on first open, which is fine to accept.