Skip to content
This repository was archived by the owner on Nov 20, 2019. It is now read-only.

Update proguard-square-retrofit2.pro #160

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions libraries/proguard-square-retrofit2.pro
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Retrofit 2.X
## https://square.github.io/retrofit/ ##
## https://github.com/square/retrofit#proguard

-dontwarn retrofit2.**
-keep class retrofit2.** { *; }
# Retain generic type information for use by reflection by converters and adapters.
-keepattributes Signature
-keepattributes Exceptions

-keepclasseswithmembers class * {
# Retain service method parameters.
-keepclassmembernames,allowobfuscation interface * {
@retrofit2.http.* <methods>;
}
# Ignore annotation used for build tooling.
-dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement