X-Git-Url: https://git.nmode.ca/signal-cli/blobdiff_plain/067d14e1cab998de3b595f7972ca79519283883c..bba3c2218903f13f04510ab5dc0e44af30dc355f:/build.gradle diff --git a/build.gradle b/build.gradle index 9ab86781..0bd5b3c6 100644 --- a/build.gradle +++ b/build.gradle @@ -1,24 +1,34 @@ apply plugin: 'java' apply plugin: 'application' -mainClassName = 'cli.Main' +sourceCompatibility = JavaVersion.VERSION_1_7 +targetCompatibility = JavaVersion.VERSION_1_7 + +mainClassName = 'org.asamk.textsecure.Main' + +version = '0.2.0' repositories { + maven { + url "https://raw.github.com/AsamK/maven/master/releases/" + } mavenCentral() } dependencies { - compile 'org.whispersystems:textsecure-java:1.6.1' - compile 'com.madgag.spongycastle:prov:1.52.0.0' - compile 'org.json:json:20141113' + compile 'org.whispersystems:textsecure-java:1.8.3' + compile 'com.madgag.spongycastle:prov:1.54.0.0' compile 'commons-io:commons-io:2.4' - compile 'net.sourceforge.argparse4j:argparse4j:0.5.0' + 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, + ) } }