summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohamed Zenadi <mohamed@zenadi.com>2015-07-19 14:16:27 +0200
committerMohamed Zenadi <mohamed@zenadi.com>2015-07-19 14:16:27 +0200
commitd2b48099fa2f99c79db8384ecd99eaa07cf4b4d9 (patch)
tree71579dd05f8cbf482ca49f967f8dd5be40b2fcfd
parent83f1d18fc1a509aee24b115527aaeb62e6b95838 (diff)
enable proguard and versions bumpsv1.2.0.24
-rw-r--r--app/build.gradle20
-rw-r--r--app/proguard-rules.pro4
2 files changed, 20 insertions, 4 deletions
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