Narayan Kamath | b985319 | 2015-09-02 13:38:48 +0100 | [diff] [blame] | 1 | -dontshrink |
| 2 | -flattenpackagehierarchy |
| 3 | -packageobfuscationdictionary package_obfuscation_dictionary.proguard |
| 4 | -applymapping mapping.proguard |
| 5 | -ignorewarnings |
Narayan Kamath | 1a0f184 | 2015-09-07 12:59:53 +0100 | [diff] [blame] | 6 | -renamesourcefileattribute SourceFile |
Narayan Kamath | 714eff1 | 2015-09-08 17:45:06 +0100 | [diff] [blame^] | 7 | -keepattributes Exceptions,InnerClasses,Signature,Deprecated,SourceFile,LineNumberTable,*Annotation*,EnclosingMethod |
Narayan Kamath | b985319 | 2015-09-02 13:38:48 +0100 | [diff] [blame] | 8 | |
| 9 | -keepnames class java.** { |
| 10 | *; |
| 11 | } |
| 12 | |
| 13 | -keepnames class javax.** { |
| 14 | *; |
| 15 | } |
| 16 | |
| 17 | -keepnames class org.w3c.dom.** { |
| 18 | *; |
| 19 | } |
| 20 | |
| 21 | -keepnames class org.json.** { |
| 22 | *; |
| 23 | } |
| 24 | |
| 25 | -keepnames class org.xml.** { |
| 26 | *; |
| 27 | } |
| 28 | |
| 29 | -keepnames class org.apache.harmony.** { |
| 30 | *; |
| 31 | } |
| 32 | |
| 33 | -keepnames class org.kxml2.** { |
| 34 | *; |
| 35 | } |
| 36 | |
| 37 | -keepnames class org.xmlpull.** { |
| 38 | *; |
| 39 | } |
| 40 | |
| 41 | -keepnames class libcore.** { |
| 42 | *; |
| 43 | } |
| 44 | |
| 45 | -keepnames class android.** { |
| 46 | *; |
| 47 | } |
| 48 | |
| 49 | -keepnames class com.android.** { |
| 50 | *; |
| 51 | } |
| 52 | |
| 53 | -keepnames class dalvik.** { |
| 54 | *; |
| 55 | } |
| 56 | |
| 57 | -keepnames class sun.misc.Unsafe { |
| 58 | *; |
| 59 | } |
| 60 | |
Narayan Kamath | bd15574 | 2015-09-08 16:33:25 +0100 | [diff] [blame] | 61 | # Useful only for |
| 62 | -keepnames class sun.text.resources.** { |
| 63 | *; |
| 64 | } |
| 65 | |
Narayan Kamath | b985319 | 2015-09-02 13:38:48 +0100 | [diff] [blame] | 66 | -keepnames class org.apache.harmony.dalvik.** { |
| 67 | *; |
| 68 | } |