add application version to jlink build

This commit is contained in:
Denis-Cosmin Nutiu 2024-03-27 23:53:34 +02:00
parent f37952ae41
commit 4f4e813c3c

View file

@ -57,7 +57,7 @@ test {
}
jlink {
imageZip = project.file("${buildDir}/distributions/ImageTagger-${javafx.platform.classifier}.zip")
imageZip = project.file("${buildDir}/distributions/ImageTagger-${javafx.platform.classifier}-${version}.zip")
options = ['--strip-debug', '--compress', '2', '--no-header-files', '--no-man-pages']
launcher {
name = 'ImageTagger'