chore: Lazily change build delimiter

This commit is contained in:
NotMyFault
2021-12-21 16:27:46 +01:00
parent 78aff4c81f
commit 7453f12e66
2 changed files with 3 additions and 4 deletions

View File

@@ -34,7 +34,7 @@ ext {
date = git.head().dateTime.format(DateTimeFormatter.ofPattern("yy.MM.dd"))
revision = "-${git.head().abbreviatedId}"
buildNumber = if (project.hasProperty("buildnumber")) {
snapshot + "+" + project.properties["buildnumber"] as String
snapshot + "-" + project.properties["buildnumber"] as String
} else {
project.properties["snapshot"] as String
}