From dec6944042035523bacad8d32d3ea54eed2d49ff Mon Sep 17 00:00:00 2001 From: Samidh Talsania Date: Sat, 25 Apr 2015 03:07:32 +0530 Subject: [PATCH] added proguard config for release build --- app/build.gradle | 2 +- app/proguard-rules.pro | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/app/build.gradle b/app/build.gradle index 8e54f06..3522e9d 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -13,7 +13,7 @@ android { } buildTypes { release { - minifyEnabled false + minifyEnabled true proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index 9626208..b2bcb68 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -20,3 +20,8 @@ public static java.lang.String TABLENAME; } -keep class **$Properties + +-dontwarn com.squareup.** +-dontwarn okio.** +-dontwarn retrofit.** +-dontwarn org.joda.time.**