mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 18:40:39 +00:00
Add version to jar manifest
This commit is contained in:
parent
cd8de7878c
commit
7f21bf0f23
1 changed files with 7 additions and 3 deletions
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…
Add table
Add a link
Reference in a new issue