]> nmode's Git Repositories - signal-cli/commitdiff
Add version to jar manifest
authorAsamK <asamk@gmx.de>
Tue, 22 Sep 2015 12:43:24 +0000 (14:43 +0200)
committerAsamK <asamk@gmx.de>
Tue, 22 Sep 2015 12:43:24 +0000 (14:43 +0200)
build.gradle

index 2e3252fa1d40dfefc9d161d708605b2e314f0612..628c5c16d8cf04e58087fcc78f7a5636e96e0b9a 100644 (file)
@@ -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,
+        )
     }
 }