diff options
author | Vincent Breitmoser <valodim@mugenguild.com> | 2015-09-14 16:21:04 +0200 |
---|---|---|
committer | Vincent Breitmoser <valodim@mugenguild.com> | 2015-09-14 16:21:04 +0200 |
commit | 3814ae7d53a22ba89f1e39d7a4661016f76cf8c8 (patch) | |
tree | d83d41d3c424a784da144515665fb41ef650aa52 /OpenKeychain/build.gradle | |
parent | dbaf7070ead596f5c70ad48fc55aada2f77a856a (diff) | |
parent | d5dd6a49c8156a699b3fbbbeef06658e1c232c16 (diff) | |
download | open-keychain-3814ae7d53a22ba89f1e39d7a4661016f76cf8c8.tar.gz open-keychain-3814ae7d53a22ba89f1e39d7a4661016f76cf8c8.tar.bz2 open-keychain-3814ae7d53a22ba89f1e39d7a4661016f76cf8c8.zip |
Merge branch 'master' into mime4j
Conflicts:
OpenKeychain/build.gradle
OpenKeychain/src/main/java/org/sufficientlysecure/keychain/operations/results/OperationResult.java
OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/DecryptListFragment.java
OpenKeychain/src/main/res/values/strings.xml
Diffstat (limited to 'OpenKeychain/build.gradle')
-rw-r--r-- | OpenKeychain/build.gradle | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/OpenKeychain/build.gradle b/OpenKeychain/build.gradle index 5bf8f6d1b..ab640b1ca 100644 --- a/OpenKeychain/build.gradle +++ b/OpenKeychain/build.gradle @@ -46,7 +46,8 @@ dependencies { compile 'com.jpardogo.materialtabstrip:library:1.0.9' compile 'com.getbase:floatingactionbutton:1.9.0' compile 'org.commonjava.googlecode.markdown4j:markdown4j:2.2-cj-1.0' - compile 'com.splitwise:tokenautocomplete:1.3.3@aar' + compile 'org.ocpsoft.prettytime:prettytime:3.2.7.Final' + compile "com.splitwise:tokenautocomplete:1.3.3@aar" compile 'se.emilsjolander:stickylistheaders:2.6.0' compile 'org.sufficientlysecure:html-textview:1.2' compile 'com.mikepenz:materialdrawer:3.0.9@aar' @@ -58,6 +59,7 @@ dependencies { compile 'com.squareup.okhttp:okhttp:2.4.0' compile 'org.apache.james:apache-mime4j-core:0.7.2' compile 'org.apache.james:apache-mime4j-dom:0.7.2' + compile 'org.thoughtcrime.ssl.pinning:AndroidPinning:1.0.0' // libs as submodules compile project(':extern:openpgp-api-lib:openpgp-api') @@ -119,8 +121,8 @@ android { defaultConfig { minSdkVersion 15 targetSdkVersion 22 - versionCode 34100 - versionName "3.4.1" + versionCode 35100 + versionName "3.5.1" applicationId "org.sufficientlysecure.keychain" // the androidjunitrunner is broken regarding coverage, see here: // https://code.google.com/p/android/issues/detail?id=170607 @@ -143,9 +145,11 @@ android { // Reference them in the java files with e.g. BuildConfig.ACCOUNT_TYPE. buildConfigField "String", "ACCOUNT_TYPE", "\"org.sufficientlysecure.keychain.account\"" + buildConfigField "String", "PROVIDER_CONTENT_AUTHORITY", "\"org.sufficientlysecure.keychain.provider\"" // Reference them in .xml files. resValue "string", "account_type", "org.sufficientlysecure.keychain.account" + resValue "string", "provider_content_authority", "org.sufficientlysecure.keychain.provider" } debug { @@ -153,9 +157,15 @@ android { // Reference them in the java files with e.g. BuildConfig.ACCOUNT_TYPE. buildConfigField "String", "ACCOUNT_TYPE", "\"org.sufficientlysecure.keychain.debug.account\"" + buildConfigField "String", "PROVIDER_CONTENT_AUTHORITY", "\"org.sufficientlysecure.keychain.debug.provider\"" + + // Github api for debug build only + buildConfigField "String", "GITHUB_CLIENT_ID", "\"7a011b66275f244d3f21\"" + buildConfigField "String", "GITHUB_CLIENT_SECRET", "\"eaced8a6655719d8c6848396de97b3f5d7a89fec\"" // Reference them in .xml files. resValue "string", "account_type", "org.sufficientlysecure.keychain.debug.account" + resValue "string", "provider_content_authority", "org.sufficientlysecure.keychain.debug.provider" // Enable code coverage (Jacoco) testCoverageEnabled true @@ -202,11 +212,11 @@ android { } dexOptions { + incremental = true // Disable preDexing, causes com.android.dx.cf.iface.ParseException: bad class file magic (cafebabe) or version (0034.0000) on some systems preDexLibraries = false - // faster with incremental? -// incremental true - javaMaxHeapSize "4g" + jumboMode = true + javaMaxHeapSize "2g" } packagingOptions { |