X-Git-Url: https://git.nmode.ca/signal-cli/blobdiff_plain/067d14e1cab998de3b595f7972ca79519283883c..936ad517a3a1727a28b6106cb9f9f1327295e63f:/build.gradle?ds=sidebyside diff --git a/build.gradle b/build.gradle index 9ab86781..55468056 100644 --- a/build.gradle +++ b/build.gradle @@ -1,14 +1,18 @@ apply plugin: 'java' apply plugin: 'application' +sourceCompatibility = "1.8"; + mainClassName = 'cli.Main' +version = '0.0.4' + repositories { mavenCentral() } dependencies { - compile 'org.whispersystems:textsecure-java:1.6.1' + 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' @@ -16,9 +20,11 @@ dependencies { } 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, + ) } }