From 9d0dedc6cec165fc720e507e94c976f78a6ed743 Mon Sep 17 00:00:00 2001 From: steckbrief Date: Mon, 14 Dec 2015 14:56:46 +0100 Subject: Build cleanup: libraries added as local resources, removed unused proguard configs, removed SwipyRefreshLayout as module and added as binary dependency, moved 3rd party binaries to separate folder --- build.gradle | 31 +++++++++++++++++++------------ 1 file changed, 19 insertions(+), 12 deletions(-) (limited to 'build.gradle') diff --git a/build.gradle b/build.gradle index b79f91e2..cbd03497 100644 --- a/build.gradle +++ b/build.gradle @@ -20,26 +20,33 @@ allprojects { apply plugin: 'com.android.application' repositories { - jcenter() - mavenCentral() + flatDir { + dirs 'libs/3rdParty', 'libs/3rdParty/zxing' + } } dependencies { + // Local JAR files + //compile fileTree(dir: 'libs/zxing', includes: ['core-3.1.0.jar', 'android-integration-3.1.0.jar']) + compile name: 'core-3.1.0' //zxing + compile name: 'android-integration-3.1.0' //zxing + compile name: 'libidn-1.15' + compile name: 'minidns-0.1.3' + compile name: 'org.otr4j-0.22' + compile name: 'bcprov-jdk15on-1.51' + compile name: 'EnhancedListView-0.3.4', ext: 'aar' + compile name: 'ShortcutBadger-1.1.1', ext: 'aar' + compile name: 'swipy-1.2.1', ext: 'aar' + + // Local modules compile project(':libs:openpgp-api-lib') compile project(':libs:MemorizingTrustManager') - compile 'com.android.support:support-v13:21.0.3' - compile 'org.bouncycastle:bcprov-jdk15on:1.51' - compile 'org.jitsi:org.otr4j:0.22' - compile 'org.gnu.inet:libidn:1.15' - compile 'com.google.zxing:core:3.1.0' - compile 'com.google.zxing:android-integration:3.1.0' - compile 'de.measite.minidns:minidns:0.1.3' - compile 'de.timroes.android:EnhancedListView:0.3.4' - compile 'me.leolin:ShortcutBadger:1.1.1@aar' compile project(':libs:emojicon') compile project(':libs:colorpicker') - compile project(':libs:SwipyRefreshLayout') compile project(':libs:thedevstacklogcat') + + // Android dependencies + compile 'com.android.support:support-v13:21.0.3' } android { -- cgit v1.2.3