Add release build config and Play Store prep

- Add signing config (reads from env vars)
- Enable R8 minification and resource shrinking
- Expand ProGuard rules for Gson
- Update README with build instructions and Play Store checklist
This commit is contained in:
2025-12-19 05:55:38 +01:00
parent 017172f48a
commit a70f338e06
3 changed files with 60 additions and 4 deletions

View File

@@ -6,3 +6,10 @@
-keepattributes Signature
-keepattributes *Annotation*
-keep class dev.itsh.tetherapi.data.** { *; }
-keep class com.google.gson.** { *; }
# Keep generic type info for Gson
-keepattributes EnclosingMethod
-keep class * implements com.google.gson.TypeAdapterFactory
-keep class * implements com.google.gson.JsonSerializer
-keep class * implements com.google.gson.JsonDeserializer