1
0
mirror of https://github.com/GeyserMC/Floodgate.git synced 2025-12-19 23:09:27 +00:00

Switched to ConfigUtils and prepared the addition of metrics

This commit is contained in:
Tim203
2022-03-11 23:35:59 +01:00
parent 7a9642ef6a
commit 440e20f5ea
17 changed files with 120 additions and 691 deletions

View File

@@ -36,7 +36,7 @@ fun Project.isSnapshot(): Boolean =
fun Project.fullVersion(): String {
var version = version.toString()
if (version.endsWith("-SNAPSHOT")) {
version += " (b${buildNumberAsString()}-${lastCommitHash()}}"
version += " (b${buildNumberAsString()}-${lastCommitHash()})"
}
return version
}