proguard-android-optimize.txt 698 B

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