From d19d1bb36a33562fd2897c77527e9ef7e2f2df95 Mon Sep 17 00:00:00 2001 From: Menny Even Danan Date: Thu, 24 Mar 2016 11:39:18 -0400 Subject: initial commit for CI move to Docker --- proguard-android-optimize.txt | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) (limited to 'proguard-android-optimize.txt') diff --git a/proguard-android-optimize.txt b/proguard-android-optimize.txt index 012c8a3e7..08723353d 100644 --- a/proguard-android-optimize.txt +++ b/proguard-android-optimize.txt @@ -50,8 +50,8 @@ public static ** valueOf(java.lang.String); } --keep class * implements android.os.Parcelable { - public static final android.os.Parcelable$Creator *; +-keepclassmembers class * implements android.os.Parcelable { + public static final android.os.Parcelable$Creator CREATOR; } -keepclassmembers class **.R$* { @@ -61,4 +61,21 @@ # The support library contains references to newer platform versions. # Don't warn about those in case this app is linking against an older # platform version. We know about them, and they are safe. --dontwarn android.support.** \ No newline at end of file +-dontwarn android.support.** + +# Understand the @Keep support annotation. +-keep class android.support.annotation.Keep + +-keep @android.support.annotation.Keep class * {*;} + +-keepclasseswithmembers class * { + @android.support.annotation.Keep ; +} + +-keepclasseswithmembers class * { + @android.support.annotation.Keep ; +} + +-keepclasseswithmembers class * { + @android.support.annotation.Keep (...); +} -- cgit v1.2.3