X-Git-Url: https://git.nmode.ca/signal-cli/blobdiff_plain/b91abad2b53d74ba5549c95f09835b2f426912ea..df0a1f442f4358ec787389a8dac18dfe8d39057f:/build.gradle?ds=sidebyside diff --git a/build.gradle b/build.gradle index 2e3252fa..873ee41a 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.4.0' + +compileJava.options.encoding = 'UTF-8' repositories { + maven { + url "https://raw.github.com/AsamK/maven/master/releases/" + } mavenCentral() } dependencies { - compile 'org.whispersystems:textsecure-java:1.8.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 'org.whispersystems:signal-service-java:2.1.1fetchMessages_provisioning' + compile 'org.bouncycastle:bcprov-jdk15on:1.54' + 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, + ) } }