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