aboutsummaryrefslogtreecommitdiffstats
path: root/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle38
1 files changed, 27 insertions, 11 deletions
diff --git a/build.gradle b/build.gradle
index 9722b3e2..5e5f9b07 100644
--- a/build.gradle
+++ b/build.gradle
@@ -23,27 +23,41 @@ allprojects {
apply plugin: 'com.android.application'
repositories {
+ flatDir {
+ dirs 'libs/3rdParty', 'libs/3rdParty/zxing'
+ }
jcenter()
mavenCentral()
}
dependencies {
- compile project(':libs:MemorizingTrustManager')
- compile 'org.sufficientlysecure:openpgp-api:10.0'
compile 'com.soundcloud.android:android-crop:1.0.1@aar'
- compile 'com.android.support:support-v13:23.0.1'
- compile 'org.bouncycastle:bcprov-jdk15on:1.52'
compile 'org.bouncycastle:bcmail-jdk15on:1.52'
- compile 'org.jitsi:org.otr4j:0.22'
- compile 'org.gnu.inet:libidn:1.15'
- compile 'com.google.zxing:core:3.2.1'
- compile 'com.google.zxing:android-integration:3.2.1'
- compile 'de.measite.minidns:minidns:0.1.7'
- compile 'de.timroes.android:EnhancedListView:0.3.4'
- compile 'me.leolin:ShortcutBadger:1.1.3@aar'
compile 'com.kyleduo.switchbutton:library:1.2.8'
compile 'org.whispersystems:axolotl-android:1.3.4'
compile 'com.makeramen:roundedimageview:2.2.0'
+
+ // Local JAR files
+ //compile fileTree(dir: 'libs/zxing', includes: ['core-3.1.0.jar', 'android-integration-3.1.0.jar'])
+ compile name: 'core-3.2.1' //zxing
+ compile name: 'android-integration-3.2.1' //zxing
+ compile name: 'libidn-1.15'
+ compile name: 'minidns-0.1.7'
+ compile name: 'org.otr4j-0.22'
+ compile name: 'bcprov-jdk15on-1.52'
+ compile name: 'EnhancedListView-0.3.4', ext: 'aar'
+ compile name: 'ShortcutBadger-1.1.3', ext: 'aar'
+ compile name: 'swipy-1.2.1', ext: 'aar'
+
+ // Local modules
+ compile project(':libs:openpgp-api-lib')
+ compile project(':libs:MemorizingTrustManager')
+ compile project(':libs:emojicon')
+ compile project(':libs:colorpicker')
+ compile project(':libs:thedevstacklogcat')
+
+ // Android dependencies
+ compile 'com.android.support:support-v13:21.0.3'
}
android {
@@ -95,6 +109,8 @@ android {
if (output.zipAlign != null) {
output.zipAlign.outputFile = new File(output.outputFile.parent, rootProject.name + "-${variant.versionName}.apk")
}
+ output.packageApplication.outputFile = new File(output.outputFile.parent, output.packageApplication.outputFile.name
+ .replace(".apk", "-${variant.versionName}.apk"))
}
}
}