From 12262304ac39cb9d8150a93e28beb4150520aca7 Mon Sep 17 00:00:00 2001 From: Amine Date: Sun, 10 Sep 2017 09:19:28 +0200 Subject: [PATCH] Trying to fix minification problem. --- app/build.gradle | 3 ++- app/proguard-rules.pro | 4 +++- build.gradle | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 5dfb613..a6e8743 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -61,7 +61,8 @@ android { } buildTypes { release { - minifyEnabled false + minifyEnabled true + shrinkResources true proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index 6de36ee..62b0364 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -60,4 +60,6 @@ # self signed glidemodule --keep public class * implements com.bumptech.glide.module.GlideModule \ No newline at end of file +-keep public class * implements com.bumptech.glide.module.GlideModule + +-dontwarn com.anupcowkur.reservoir.** \ No newline at end of file diff --git a/build.gradle b/build.gradle index 4d0c38f..ffeee94 100644 --- a/build.gradle +++ b/build.gradle @@ -7,7 +7,7 @@ buildscript { google() } dependencies { - classpath 'com.android.tools.build:gradle:3.0.0-beta4' + classpath 'com.android.tools.build:gradle:3.0.0-beta5' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" // NOTE: Do not place your application dependencies here; they belong