release: bump to 1.0.1, enable R8 minification, ignore .claude dir

versionCode 1->2, versionName 0.1.0->1.0.1
isMinifyEnabled=true with proguard-android-optimize.txt
add proguard-rules.pro (keep Room, OkHttp, kotlinx.serialization)
gitignore: add .claude/ to suppress worktree noise

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-21 16:38:27 -04:00
parent 5a7542fb4c
commit a4591655b7
3 changed files with 26 additions and 3 deletions

16
android/app/proguard-rules.pro vendored Normal file
View File

@@ -0,0 +1,16 @@
# Keep Room entities and DAOs
-keep class me.hgsky.synq.data.db.** { *; }
# Keep Retrofit/OkHttp
-dontwarn okhttp3.**
-keep class okhttp3.** { *; }
# Keep kotlinx.serialization
-keepattributes *Annotation*, InnerClasses
-dontnote kotlinx.serialization.AnnotationsKt
-keepclassmembers class kotlinx.serialization.json.** { *** Companion; }
-keepclasseswithmembers class **$$serializer { *; }
-keepclassmembers @kotlinx.serialization.Serializable class ** {
*** Companion;
*** serializer(...);
}