From a12a0b1103966af23d95e4d173c7c882b62bbaea Mon Sep 17 00:00:00 2001 From: Kishore Babu Date: Mon, 28 Nov 2016 01:25:27 +0530 Subject: [PATCH] Fix: Proguard config to fix build. Add -dontwarn for rxjava adapters for retrofit 2. Now the repo can build a release build out of the box. --- app/proguard-rules.pro | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index 527d4d9b..2115f3a0 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -36,6 +36,9 @@ -dontnote retrofit2.Platform$IOS$MainThreadExecutor # Platform used when running on Java 8 VMs. Will not be used at runtime. -dontwarn retrofit2.Platform$Java8 +-dontwarn retrofit2.adapter.rxjava.CompletableHelper$CompletableCallAdapter +-dontwarn retrofit2.adapter.rxjava.CompletableHelper$CompletableCallOnSubscribe +-dontwarn retrofit2.adapter.rxjava.CompletableHelper$CompletableCallOnSubscribe$1 # Retain generic type information for use by reflection by converters and adapters. -keepattributes Signature # Retain declared checked exceptions for use by a Proxy instance.