summaryrefslogtreecommitdiff
path: root/android-app/app/build.gradle
diff options
context:
space:
mode:
authorClaude <noreply@anthropic.com>2026-05-27 15:41:28 +0000
committerClaude <noreply@anthropic.com>2026-05-27 15:41:28 +0000
commite0df3913fe451056e6c5490f02faf3e8b2f2d33d (patch)
tree901fbf62a6a2e01e0106ab97681a9f1201a82447 /android-app/app/build.gradle
parent6261b85ba8ddd7a7d300f92f40fba185d425d2b6 (diff)
Add Room database as track summary cache
Adds TrackEntity/TrackDao/NavDatabase (Room v2.6.1). TrackRepository writes to Room on stopTrack() and importTrack(), and backfills existing tracks on first cold-start when the Room cache is empty. GPX/SAF remains source-of-truth for reinstall; Room is a fast metadata cache for future list-view optimisation. https://claude.ai/code/session_01KXYBuAHZkvv63DeUG6XaZD
Diffstat (limited to 'android-app/app/build.gradle')
-rw-r--r--android-app/app/build.gradle5
1 files changed, 5 insertions, 0 deletions
diff --git a/android-app/app/build.gradle b/android-app/app/build.gradle
index bf8d5c9..dc06536 100644
--- a/android-app/app/build.gradle
+++ b/android-app/app/build.gradle
@@ -97,6 +97,11 @@ dependencies {
implementation 'com.squareup.moshi:moshi-kotlin:1.15.0'
ksp 'com.squareup.moshi:moshi-kotlin-codegen:1.15.0'
+ // Room
+ implementation 'androidx.room:room-runtime:2.6.1'
+ implementation 'androidx.room:room-ktx:2.6.1'
+ ksp 'androidx.room:room-compiler:2.6.1'
+
// Location
implementation 'com.google.android.gms:play-services-location:21.2.0'