From: AsamK Date: Tue, 22 Sep 2015 12:43:24 +0000 (+0200) Subject: Add version to jar manifest X-Git-Tag: v0.0.4~3 X-Git-Url: https://git.nmode.ca/signal-cli/commitdiff_plain/7f21bf0f23294d41653cd5328ce0746b43f68166 Add version to jar manifest --- diff --git a/build.gradle b/build.gradle index 2e3252fa..628c5c16 100644 --- a/build.gradle +++ b/build.gradle @@ -5,6 +5,8 @@ sourceCompatibility = "1.8"; mainClassName = 'cli.Main' +version = '0.0.2' + repositories { mavenCentral() } @@ -18,9 +20,11 @@ dependencies { } 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, + ) } }