diff --git a/app/build.gradle b/app/build.gradle index 8a3903d2..e46e77a4 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -9,8 +9,8 @@ android { applicationId "com.zeapo.pwdstore" minSdkVersion 15 targetSdkVersion 22 - versionCode 43 - versionName "1.2.0.23" + versionCode 44 + versionName "1.2.0.24" } compileOptions { @@ -22,14 +22,26 @@ android { lintOptions { abortOnError false } + + buildTypes { + release { + minifyEnabled true + proguardFiles getDefaultProguardFile('proguard-android.txt'), + 'proguard-rules.pro' + } + } + + packagingOptions { + exclude '.readme' + } } dependencies { compile 'com.android.support:appcompat-v7:22.2.0' compile 'com.android.support:recyclerview-v7:22.2.0' compile 'org.sufficientlysecure:openpgp-api:7.0' - compile 'org.eclipse.jgit:org.eclipse.jgit:3.7.0.201502260915-r' - compile 'com.jcraft:jsch:0.1.52' + compile 'org.eclipse.jgit:org.eclipse.jgit:3.7.1.201504261725-r' + compile 'com.jcraft:jsch:0.1.53' compile 'org.apache.commons:commons-io:1.3.2' compile 'com.jayway.android.robotium:robotium-solo:5.3.1' compile 'com.android.support:design:22.2.0' diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index 1c62bd01..a5597adb 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -16,3 +16,7 @@ # public *; #} -dontwarn java.lang.invoke.* +-dontwarn org.eclipse.jgit.** +-dontwarn com.jcraft.jsch.** +-dontwarn com.google.common.** +-dontwarn org.slf4j.** \ No newline at end of file