akexorcist / GoogleDirectionLibrary

[Android] Library for Google Direction API for Google Maps Android API v2
Apache License 2.0
571 stars 174 forks source link

Missing * in ProGuard rules example #40

Closed tomaszpaczesny closed 6 years ago

tomaszpaczesny commented 7 years ago

In the provided ProGuard rules example there are missing two occurances of * making config to fail on build.

It should look like this:

-keep class com.akexorcist.** { *; }
-keep interface com.akexorcist.* { *; }

-keep class com.google.android.gms.maps.** { *; }
-keep interface com.google.android.gms.maps.* { *; }

-dontwarn retrofit2.**
-keep class retrofit2.** { *; }
-keepattributes Signature
-keepattributes Exceptions

-keepclasseswithmembers class * {
    @retrofit2.http.* <methods>;
}
akexorcist commented 6 years ago

Thank you so much.