From 7f21bf0f23294d41653cd5328ce0746b43f68166 Mon Sep 17 00:00:00 2001 From: AsamK Date: Tue, 22 Sep 2015 14:43:24 +0200 Subject: [PATCH] Add version to jar manifest --- build.gradle | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) 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, + ) } }