[android] #3750 - update proguard library for 4.0.0 release (maps package) + update for leak canary.

This commit is contained in:
Tobrun
2016-02-16 09:20:09 +01:00
parent a3f8710574
commit 4baee63d8e
2 changed files with 9 additions and 8 deletions

View File

@@ -15,8 +15,11 @@
# Package: http
-keep class com.mapbox.mapboxsdk.http.** { *; }
# Package views
-keep class com.mapbox.mapboxsdk.views.** { *; }
# Package maps
-keep class com.mapbox.mapboxsdk.maps.** { *; }
# Package telemetry
-keep class com.mapbox.mapboxsdk.telemetry.** { *; }
# Package layers
-keep class com.mapbox.mapboxsdk.layers.** { *; }

View File

@@ -1,8 +1,6 @@
# Mapbox ProGuard configuration is handled in the SDK
-keep class android.support.** { *; }
-dontwarn retrofit.**
-keep class retrofit.** { *; }
-keepattributes Signature
-keepattributes Exceptions
-dontwarn com.squareup.**
-dontwarn com.retrofit.**
-dontwarn java.lang.**
-dontwarn org.codehaus.**