diff options
| author | Menny Even Danan <menny@evendanan.net> | 2015-01-10 03:35:38 +0000 |
|---|---|---|
| committer | Menny Even Danan <menny@evendanan.net> | 2015-01-10 03:35:38 +0000 |
| commit | 39f4162d1827135e050410bc2c695a5b1b49952c (patch) | |
| tree | 7fb677d6f28b01596529bb8f3b5a822b1bc95284 /proguard-rules.txt | |
| parent | d48a9b65091483b6dd7fa9d0d40ac85351753d19 (diff) | |
| download | AnySoftKeyboard-39f4162d1827135e050410bc2c695a5b1b49952c.tar.gz AnySoftKeyboard-39f4162d1827135e050410bc2c695a5b1b49952c.tar.bz2 | |
re-enabling Robolectric tests. Issue #377
Change-Id: I36b75220ddb99fe8f4ef55ccf172c50cca0c5b65
Diffstat (limited to 'proguard-rules.txt')
| -rw-r--r-- | proguard-rules.txt | 34 |
1 files changed, 32 insertions, 2 deletions
diff --git a/proguard-rules.txt b/proguard-rules.txt index 9dbf94a55..b43bc6749 100644 --- a/proguard-rules.txt +++ b/proguard-rules.txt @@ -15,11 +15,41 @@ #-keepclassmembers class fqcn.of.javascript.interface.for.webview { # public *; #} +-keep class * extends java.util.ListResourceBundle { + protected Object[][] getContents(); +} + +-keep public class com.google.android.gms.common.internal.safeparcel.SafeParcelable { + public static final *** NULL; +} --keepclasseswithmembernames class * { - native <methods>; +-keepnames @com.google.android.gms.common.annotation.KeepName class * +-keepclassmembernames class * { + @com.google.android.gms.common.annotation.KeepName *; } +-keepnames class * implements android.os.Parcelable { + public static final ** CREATOR; +} + +-keepclassmembers public class * extends android.support.v4.app.Fragment { + <init>(...); +} + +-keep class sun.misc.Unsafe { *; } +## https://code.google.com/p/google-gson/source/browse/trunk/examples/android-proguard-example/proguard.cfg +-keepattributes Signature +-keepattributes *Annotation* + +-keepnames enum * { + public static **[] values(); + public static ** valueOf(java.lang.String); +} + +-keep public class * extends android.app.Application +-keep public class * extends android.app.Service +-keep public class * extends android.content.BroadcastReceiver + -keep,allowobfuscation class com.anysoftkeyboard.IndirectlyInstantiated -keepclasseswithmembernames class * extends @com.anysoftkeyboard.IndirectlyInstantiated * { public protected <init>(...); |
