From fbb3198a61ed667ae5d234632ea6bf1a5e8cbe4f Mon Sep 17 00:00:00 2001 From: QuangSon Date: Sun, 28 Feb 2016 00:50:37 +0700 Subject: [PATCH] Keep class with members for retrofit annotation --- libraries/proguard-square-retrofit2.pro | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libraries/proguard-square-retrofit2.pro b/libraries/proguard-square-retrofit2.pro index f0043c4..586c0f8 100644 --- a/libraries/proguard-square-retrofit2.pro +++ b/libraries/proguard-square-retrofit2.pro @@ -5,3 +5,7 @@ -keep class retrofit2.** { *; } -keepattributes Signature -keepattributes Exceptions + +-keepclasseswithmembers class * { + @retrofit2.http.* ; +}