X-Git-Url: https://git.nmode.ca/signal-cli/blobdiff_plain/28e192c519c59d97d70aea6fabe18927e1aff42a..8a74ef5505469176ae360bb72f4db0b9afbb9335:/build.gradle diff --git a/build.gradle b/build.gradle index f9d89548..5885ce5b 100644 --- a/build.gradle +++ b/build.gradle @@ -1,24 +1,36 @@ apply plugin: 'java' apply plugin: 'application' +apply plugin: 'eclipse' -mainClassName = 'cli.Main' +sourceCompatibility = JavaVersion.VERSION_1_7 +targetCompatibility = JavaVersion.VERSION_1_7 + +mainClassName = 'org.asamk.signal.Main' + +version = '0.5.6' + +compileJava.options.encoding = 'UTF-8' repositories { + maven { + url "https://raw.github.com/AsamK/maven/master/releases/" + } mavenCentral() } dependencies { - compile 'org.whispersystems:textsecure-java:1.3.0' - compile 'com.madgag.spongycastle:prov:1.51.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.5.11_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.1' manifest { - attributes 'Main-Class': 'cli.Main' + attributes( + 'Implementation-Title': project.name, + 'Implementation-Version': project.version, + 'Main-Class': project.mainClassName, + ) } }