daily pastebin goal
23%
SHARE
TWEET

Pro Guard

vikowijaya Jul 19th, 2018 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -ignorewarnings
  2.  
  3. -dontskipnonpubliclibraryclassmembers
  4. -dontshrink
  5. -dontoptimize
  6. -printmapping build/libs/output/obfuscation.map
  7. -keepattributes
  8. -adaptclassstrings
  9. -dontnote
  10. -dontwarn
  11.  
  12. # Keep Android classes
  13. -keep class ** extends android.** {
  14.     <fields>;
  15.     <methods>;
  16. }
  17.  
  18. # Keep serializable classes & fields
  19. -keep class ** extends java.io.Serializable {
  20.     <fields>;
  21. }
  22.  
  23. # Keep - Applications. Keep all application classes, along with their 'main'
  24. # methods.
  25. -keepclasseswithmembers public class * {
  26.     public static void main(java.lang.String[]);
  27. }
  28.  
  29. # Also keep - Enumerations. Keep the special static methods that are required in
  30. # enumeration classes.
  31. -keepclassmembers enum  * {
  32.     public static **[] values();
  33.     public static ** valueOf(java.lang.String);
  34. }
  35.  
  36.  
  37. -assumenosideeffects class android.util.Log {
  38.     public static *** d(...);
  39.     public static *** e(...);
  40.     public static *** w(...);
  41. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top