- 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
16 lines
472 B
Prolog
16 lines
472 B
Prolog
# NanoHTTPD
|
|
-keep class fi.iki.elonen.** { *; }
|
|
-keep class org.nanohttpd.** { *; }
|
|
|
|
# Gson
|
|
-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
|