diff --git a/app/build.gradle b/app/build.gradle index aa9aaa6..9947612 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -29,7 +29,8 @@ android { } buildTypes { release { - minifyEnabled false + minifyEnabled true + shrinkResources true proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } debug { @@ -52,7 +53,7 @@ dependencies { compile 'com.android.support:design:25.0.0' compile 'com.android.support:support-v4:25.0.0' compile 'com.android.support:recyclerview-v7:25.0.0' - compile 'com.mcxiaoke.volley:library:1.0.19' + compile 'com.android.volley:volley:1.0.0' compile 'org.ini4j:ini4j:0.5.4' compile 'commons-io:commons-io:2.5' compile 'com.melnykov:floatingactionbutton:1.3.0' diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index d4ab647..d398616 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -15,3 +15,6 @@ #-keepclassmembers class fqcn.of.javascript.interface.for.webview { # public *; #} + +# Ignore warnings caused by ini4j referencing non Android-runtime classes +-dontwarn java.beans.* \ No newline at end of file