Skip to content

Commit

Permalink
feat: use versions instead of timestamps for better usage
Browse files Browse the repository at this point in the history
  • Loading branch information
duruer committed Jul 22, 2024
1 parent e046326 commit 6ad8b5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ tasks {
attributes(attrMap)
}

if (project.hasProperty("timeStamp")) {
archiveFileName.set("${rootProject.name}-${timeStamp}.jar")
if (version != "Unspecified") {
archiveFileName.set("${rootProject.name}-${version}.jar")
} else {
archiveFileName.set("${rootProject.name}.jar")
}
Expand Down

0 comments on commit 6ad8b5b

Please sign in to comment.