first
This commit is contained in:
23
app/proguard-rules.pro
vendored
Normal file
23
app/proguard-rules.pro
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
# Jordan Bot ProGuard Rules
|
||||
|
||||
# Keep service classes
|
||||
-keep class com.jordanbot.autoride.service.** { *; }
|
||||
|
||||
# Keep model classes for Gson
|
||||
-keep class com.jordanbot.autoride.model.** { *; }
|
||||
|
||||
# Retrofit
|
||||
-keepattributes Signature
|
||||
-keepattributes *Annotation*
|
||||
-keep class retrofit2.** { *; }
|
||||
-keepclasseswithmembers class * {
|
||||
@retrofit2.http.* <methods>;
|
||||
}
|
||||
|
||||
# OkHttp
|
||||
-dontwarn okhttp3.**
|
||||
-dontwarn okio.**
|
||||
|
||||
# Gson
|
||||
-keep class com.google.gson.** { *; }
|
||||
-keepattributes EnclosingMethod
|
||||
Reference in New Issue
Block a user