From 37c4af2d3d05ca4f2ea805111cfc7c0862cfc916 Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Sun, 23 Apr 2017 11:26:31 +0200 Subject: [PATCH] Cleanup build.gradle --- build.gradle | 29 ++++++++++++----------------- 1 file changed, 12 insertions(+), 17 deletions(-) diff --git a/build.gradle b/build.gradle index 1e0c660..4509ef8 100644 --- a/build.gradle +++ b/build.gradle @@ -1,28 +1,23 @@ apply plugin: 'java' +apply plugin: 'eclipse' repositories { mavenLocal() mavenCentral() - maven { url 'https://oss.sonatype.org/content/repositories/snapshots' } + maven { + url 'https://oss.sonatype.org/content/repositories/snapshots' + } +} + +ext { + smackVersion="4.2.1-SNAPSHOT" } dependencies { - compile "xpp3:xpp3:1.1.4c" - compile "org.jxmpp:jxmpp-core:0.5.0-alpha7" - compile "org.jxmpp:jxmpp-jid:0.5.0-alpha7" - compile "org.jxmpp:jxmpp-util-cache:0.5.0-alpha7" - compile "org.jxmpp:jxmpp-stringprep-libidn:0.5.0-alpha7" - compile "org.bouncycastle:bcprov-jdk15on:1.56" - compile "org.whispersystems:signal-protocol-java:2.3.0" - compile "org.igniterealtime.smack:smack-core:4.2.1-SNAPSHOT" - compile "org.igniterealtime.smack:smack-experimental:4.2.1-SNAPSHOT" - compile "org.igniterealtime.smack:smack-extensions:4.2.1-SNAPSHOT" - compile "org.igniterealtime.smack:smack-im:4.2.1-SNAPSHOT" - compile "org.igniterealtime.smack:smack-java7:4.2.1-SNAPSHOT" - compile "org.igniterealtime.smack:smack-omemo:4.2.1-SNAPSHOT" - compile "org.igniterealtime.smack:smack-omemo-signal:4.2.1-SNAPSHOT" - compile "org.igniterealtime.smack:smack-resolver-dnsjava:4.2.1-SNAPSHOT" - compile "org.igniterealtime.smack:smack-tcp:4.2.1-SNAPSHOT" + compile "org.igniterealtime.smack:smack-java7:$smackVersion" + compile "org.igniterealtime.smack:smack-omemo-signal:$smackVersion" + compile "org.igniterealtime.smack:smack-resolver-dnsjava:$smackVersion" + compile "org.igniterealtime.smack:smack-tcp:$smackVersion" } jar {