|
1 | | -# Add project specific ProGuard rules here. |
2 | | -# You can control the set of applied configuration files using the |
3 | | -# proguardFiles setting in build.gradle. |
4 | | -# |
5 | | -# For more details, see |
6 | | -# http://developer.android.com/guide/developing/tools/proguard.html |
| 1 | +-dontwarn java.lang.invoke.** |
7 | 2 |
|
8 | | -# If your project uses WebView with JS, uncomment the following |
9 | | -# and specify the fully qualified class name to the JavaScript interface |
10 | | -# class: |
11 | | -#-keepclassmembers class fqcn.of.javascript.interface.for.webview { |
12 | | -# public *; |
13 | | -#} |
| 3 | +# OkHttp |
| 4 | +-keepattributes Signature |
| 5 | +-keepattributes *Annotation* |
| 6 | +-keep class okhttp3.** { *; } |
| 7 | +-keep interface okhttp3.** { *; } |
| 8 | +-dontwarn okhttp3.** |
14 | 9 |
|
15 | | -# Uncomment this to preserve the line number information for |
16 | | -# debugging stack traces. |
17 | | -#-keepattributes SourceFile,LineNumberTable |
| 10 | +# Okio |
| 11 | +-keep class sun.misc.Unsafe { *; } |
| 12 | +-dontwarn java.nio.file.* |
| 13 | +-dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement |
| 14 | +-dontwarn okio.** |
18 | 15 |
|
19 | | -# If you keep the line number information, uncomment this to |
20 | | -# hide the original source file name. |
21 | | -#-renamesourcefileattribute SourceFile |
| 16 | +# Picasso |
| 17 | +-dontwarn com.squareup.okhttp.** |
| 18 | + |
| 19 | +# Gson |
| 20 | +-keepattributes Signature |
| 21 | +-keepattributes *Annotation* |
| 22 | +-dontwarn sun.misc.** |
| 23 | +-keep class * implements com.google.gson.TypeAdapterFactory |
| 24 | +-keep class * implements com.google.gson.JsonSerializer |
| 25 | +-keep class * implements com.google.gson.JsonDeserializer |
| 26 | + |
| 27 | +# SDK |
| 28 | +-keep class io.snabble.sdk.** { *; } |
0 commit comments