Add version to jar manifest
This commit is contained in:
parent
cd8de7878c
commit
7f21bf0f23
10
build.gradle
10
build.gradle
@ -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,
|
||||||
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user