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:
16
android/app/proguard-rules.pro
vendored
Normal file
16
android/app/proguard-rules.pro
vendored
Normal 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(...);
|
||||
}
|
||||
Reference in New Issue
Block a user