1 # We have moved -dontobfuscate and -dontoptimize to the makefiles. 2 # dex does not like code run through proguard optimize and preverify steps. 3 # -dontoptimize 4 -dontpreverify 5 6 # Don't obfuscate. We only need dead code striping. 7 # -dontobfuscate 8 9 # Add this flag in your package's own configuration if it's needed. 10 #-flattenpackagehierarchy 11 12 # Keep classes and methods that have the guava @VisibleForTesting annotation 13 -keep @com.google.common.annotations.VisibleForTesting class * 14 -keepclassmembers class * { 15 @com.google.common.annotations.VisibleForTesting *; 16 } 17 18 -include proguard_basic_keeps.flags 19