From 3656027998a39a61622344691d8f198cd3a46b6e Mon Sep 17 00:00:00 2001 From: Simon Hardt Date: Wed, 28 Feb 2018 14:51:59 +0100 Subject: [PATCH] Update proguard-square-retrofit2.pro Use changes from current version in Retrofit's README https://github.com/square/retrofit/commit/246bef5bf34c0598a91038b2e15bace7718408d4 --- libraries/proguard-square-retrofit2.pro | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libraries/proguard-square-retrofit2.pro b/libraries/proguard-square-retrofit2.pro index 586c0f8..83a8263 100644 --- a/libraries/proguard-square-retrofit2.pro +++ b/libraries/proguard-square-retrofit2.pro @@ -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.* ; } +# Ignore annotation used for build tooling. +-dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement