2010-02-01 18:51:23 +01:00
|
|
|
# dex does not like code run through proguard optimize and preverify steps.
|
|
|
|
-dontoptimize
|
|
|
|
-dontpreverify
|
|
|
|
|
|
|
|
# Don't obfuscate. We only need dead code striping.
|
|
|
|
-dontobfuscate
|
|
|
|
|
|
|
|
# Add this flag in your package's own configuration if it's needed.
|
|
|
|
#-flattenpackagehierarchy
|
|
|
|
|
2013-05-30 19:45:46 +02:00
|
|
|
# Keep classes and methods that have the guava @VisibleForTesting annotation
|
|
|
|
-keep @com.google.common.annotations.VisibleForTesting class *
|
|
|
|
-keepclassmembers class * {
|
|
|
|
@com.google.common.annotations.VisibleForTesting *;
|
|
|
|
}
|
2010-02-01 18:51:23 +01:00
|
|
|
|
2013-05-17 19:02:00 +02:00
|
|
|
-include proguard_basic_keeps.flags
|