proguard-android-optimize.txt 700 B

12345678910111213141516171819202122232425262728293031323334
  1. -dontusemixedcaseclassnames
  2. -ignorewarnings
  3. -verbose
  4. -keepattributes *Annotation*
  5. -keepclasseswithmembernames,includedescriptorclasses class * {
  6. native <methods>;
  7. }
  8. -keepclassmembers enum * {
  9. public static **[] values();
  10. public static ** valueOf(java.lang.String);
  11. }
  12. -keepclassmembers class * implements android.os.Parcelable {
  13. public static final ** CREATOR;
  14. }
  15. -keep class androidx.annotation.Keep
  16. -keep @androidx.annotation.Keep class * {*;}
  17. -keepclasseswithmembers class * {
  18. @androidx.annotation.Keep <methods>;
  19. }
  20. -keepclasseswithmembers class * {
  21. @androidx.annotation.Keep <fields>;
  22. }
  23. -keepclasseswithmembers class * {
  24. @androidx.annotation.Keep <init>(...);
  25. }