Add version to jar manifest

This commit is contained in:
AsamK 2015-09-22 14:43:24 +02:00
parent cd8de7878c
commit 7f21bf0f23

View file

@ -5,6 +5,8 @@ sourceCompatibility = "1.8";
mainClassName = 'cli.Main' mainClassName = 'cli.Main'
version = '0.0.2'
repositories { repositories {
mavenCentral() mavenCentral()
} }
@ -18,9 +20,11 @@ dependencies {
} }
jar { jar {
baseName = 'textsecure-cli'
version = '0.0.2'
manifest { manifest {
attributes 'Main-Class': 'cli.Main' attributes(
'Implementation-Title': project.name,
'Implementation-Version': project.version,
'Main-Class': project.mainClassName,
)
} }
} }