From 546613f4b817339d793c9561a8ca0db9a119affd Mon Sep 17 00:00:00 2001 From: Albert Vaca Cintora Date: Sun, 9 Feb 2020 21:49:41 +0100 Subject: [PATCH] Bump Androidx version We went over the DEX methods limit, so I enabled Proguard on debug :( --- build.gradle | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/build.gradle b/build.gradle index b3b37027..5960738e 100644 --- a/build.gradle +++ b/build.gradle @@ -15,6 +15,7 @@ android { defaultConfig { minSdkVersion 14 targetSdkVersion 28 + proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } dexOptions { javaMaxHeapSize "2g" @@ -54,14 +55,13 @@ android { } buildTypes { debug { - minifyEnabled false - useProguard false + minifyEnabled true + useProguard true signingConfig signingConfigs.debug } release { //keep on 'release' for faster builds, set to 'all' when testing to make sure proguard is not deleting important stuff minifyEnabled true useProguard true - proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } } @@ -81,11 +81,13 @@ dependencies { implementation 'androidx.media:media:1.1.0' implementation 'androidx.appcompat:appcompat:1.1.0' implementation 'androidx.preference:preference:1.1.0' - implementation 'androidx.recyclerview:recyclerview:1.0.0' - implementation 'androidx.lifecycle:lifecycle-runtime:2.1.0' - implementation "androidx.lifecycle:lifecycle-extensions:2.0.0" - implementation 'androidx.lifecycle:lifecycle-common-java8:2.1.0' - implementation 'com.google.android.material:material:1.0.0' + implementation 'androidx.recyclerview:recyclerview:1.1.0' + implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.0.0' + implementation 'androidx.documentfile:documentfile:1.0.1' + implementation 'androidx.lifecycle:lifecycle-runtime:2.2.0' + implementation "androidx.lifecycle:lifecycle-extensions:2.2.0" + implementation 'androidx.lifecycle:lifecycle-common-java8:2.2.0' + implementation 'com.google.android.material:material:1.1.0' implementation 'com.jakewharton:disklrucache:2.0.2' //For caching album art bitmaps implementation 'com.jaredrummler:android-device-names:1.1.9' //To get a human-friendly device name