Add version in jar

- Cli argument
- In HTTP client
- /version endpoint
This commit is contained in:
Max Dor
2019-02-16 03:06:46 +01:00
parent aadfae2965
commit 4d63bba251
6 changed files with 86 additions and 9 deletions

View File

@@ -152,6 +152,14 @@ dependencies {
testCompile 'com.icegreen:greenmail:1.5.9'
}
jar {
manifest {
attributes(
'Implementation-Version': mxisdVersion()
)
}
}
shadowJar {
baseName = project.name
classifier = null