X-Git-Url: https://git.nmode.ca/signal-cli/blobdiff_plain/2796fff56d74639d8c1c5296a42fea815979f41f..568963f18791c8a98a9b44a5ad7a451945cd3e51:/build.gradle diff --git a/build.gradle b/build.gradle index 65774e8c..fdb28534 100644 --- a/build.gradle +++ b/build.gradle @@ -1,26 +1,35 @@ apply plugin: 'java' apply plugin: 'application' -sourceCompatibility = "1.8"; +sourceCompatibility = JavaVersion.VERSION_1_7 +targetCompatibility = JavaVersion.VERSION_1_7 -mainClassName = 'cli.Main' +mainClassName = 'org.asamk.signal.Main' + +version = '0.5.2' + +compileJava.options.encoding = 'UTF-8' repositories { + maven { + url "https://raw.github.com/AsamK/maven/master/releases/" + } mavenCentral() } dependencies { - compile 'org.whispersystems:textsecure-java:1.7.0' - compile 'com.madgag.spongycastle:prov:1.52.0.0' - compile 'org.json:json:20141113' - compile 'commons-io:commons-io:2.4' - compile 'net.sourceforge.argparse4j:argparse4j:0.5.0' + compile 'com.github.turasa:signal-service-java:2.4.4_unofficial_1' + compile 'org.bouncycastle:bcprov-jdk15on:1.55' + compile 'net.sourceforge.argparse4j:argparse4j:0.7.0' + compile 'org.freedesktop.dbus:dbus-java:2.7.0' } jar { - baseName = 'textsecure-cli' - version = '0.0.2' manifest { - attributes 'Main-Class': 'cli.Main' + attributes( + 'Implementation-Title': project.name, + 'Implementation-Version': project.version, + 'Main-Class': project.mainClassName, + ) } }