From dbaf7070ead596f5c70ad48fc55aada2f77a856a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Sch=C3=BCrmann?= Date: Mon, 10 Aug 2015 14:35:15 +0200 Subject: WIP mime parsing --- OpenKeychain/build.gradle | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'OpenKeychain/build.gradle') diff --git a/OpenKeychain/build.gradle b/OpenKeychain/build.gradle index 7d2f40128..5bf8f6d1b 100644 --- a/OpenKeychain/build.gradle +++ b/OpenKeychain/build.gradle @@ -56,6 +56,8 @@ dependencies { compile 'com.mikepenz.iconics:community-material-typeface:1.0.0@aar' compile 'com.nispok:snackbar:2.11.0' 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' // libs as submodules compile project(':extern:openpgp-api-lib:openpgp-api') @@ -199,15 +201,21 @@ android { htmlOutput file('lint-report.html') } - // Disable preDexing, causes com.android.dx.cf.iface.ParseException: bad class file magic (cafebabe) or version (0034.0000) on some systems dexOptions { + // 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" } packagingOptions { exclude 'LICENSE.txt' exclude 'META-INF/LICENSE.txt' exclude 'META-INF/NOTICE.txt' + exclude 'META-INF/DEPENDENCIES' + exclude 'META-INF/LICENSE' + exclude 'META-INF/NOTICE' exclude '.readme' } } -- cgit v1.2.3