gradle: rename fat jar with os and architecture

This commit is contained in:
Bixilon 2022-10-18 00:05:05 +02:00
parent 7165692bde
commit 492fa86054
No known key found for this signature in database
GPG Key ID: 5CAD791931B09AC4

View File

@ -372,7 +372,7 @@ application {
}
val fatJar = task("fatJar", type = Jar::class) {
archiveBaseName.set("${project.name}-fat")
archiveBaseName.set("${project.name}-fat-${PlatformInfo.OS.name.toLowerCase()}-${PlatformInfo.ARCHITECTURE.name.toLowerCase()}")
manifest {
attributes["Implementation-Title"] = project.name.capitalized()
attributes["Implementation-Version"] = project.version