-renamesourcefileattribute SourceFile -keepattributes SourceFile, LineNumberTable -dontwarn com.bumptech.glide.load.engine.bitmap_recycle.LruBitmapPool -dontwarn com.bumptech.glide.load.resource.bitmap.Downsampler -dontwarn com.bumptech.glide.load.resource.bitmap.HardwareConfigState -dontwarn com.bumptech.glide.manager.RequestManagerRetriever -keep public class * extends java.lang.Exception -keep class android.support.v7.widget.SearchView { *; } -keep class com.simplemobiletools.commons.models.PhoneNumber { *; } # Joda -dontwarn org.joda.convert.** -dontwarn org.joda.time.** -keep class org.joda.time.** { *; } -keep interface org.joda.time.** { *; } -keep public class * implements com.bumptech.glide.module.GlideModule -keep public class * extends com.bumptech.glide.module.AppGlideModule -keep class com.bumptech.glide.GeneratedAppGlideModuleImpl -keep public enum com.bumptech.glide.load.ImageHeaderParser$** { **[] $VALUES; public *; } -dontwarn java.lang.invoke.StringConcatFactory -dontwarn javax.swing.tree.TreeNode #Gson https://github.com/google/gson/blob/main/gson/src/main/resources/META-INF/proguard/gson.pro -keepattributes Signature -keepattributes RuntimeVisibleAnnotations,AnnotationDefault -if class com.google.gson.reflect.TypeToken -keep,allowobfuscation class com.google.gson.reflect.TypeToken -keep,allowobfuscation class * extends com.google.gson.reflect.TypeToken -keep,allowobfuscation,allowoptimization @com.google.gson.annotations.JsonAdapter class * -keepclassmembers,allowobfuscation class * { @com.google.gson.annotations.Expose ; @com.google.gson.annotations.JsonAdapter ; @com.google.gson.annotations.Since ; @com.google.gson.annotations.Until ; } -keepclassmembers class * extends com.google.gson.TypeAdapter { (); } -keepclassmembers class * implements com.google.gson.TypeAdapterFactory { (); } -keepclassmembers class * implements com.google.gson.JsonSerializer { (); } -keepclassmembers class * implements com.google.gson.JsonDeserializer { (); } -if class * -keepclasseswithmembers,allowobfuscation class <1> { @com.google.gson.annotations.SerializedName ; } -if class * { @com.google.gson.annotations.SerializedName ; } -keepclassmembers,allowobfuscation,allowoptimization class <1> { (); }