9
0
mirror of https://github.com/SparklyPower/SparklyPaper.git synced 2025-12-19 15:09:27 +00:00

Thanks Gradle

I have no idea why this wasn't working
This commit is contained in:
MrPowerGamerBR
2023-11-22 13:50:21 -03:00
parent dc7cea5f1b
commit 2067615d58

View File

@@ -42,8 +42,8 @@ index 79beac737c17412913983614bd478d33e3c6ed58..5812c7056d11be2cc966728de6b07cd9
- val implementationVersion = System.getenv("BUILD_NUMBER") ?: "\"$gitHash\""
+ // SparklyPaper start
+ var implementationVersion = System.getenv("BUILD_NUMBER") ?: "\"$gitHash\""
+ if (hasProperty("sparklypaperImplementationVersionSuffix")) {
+ implementationVersion += "/${property("sparklypaperImplementationVersionSuffix")}"
+ if (project.hasProperty("sparklypaperImplementationVersionSuffix")) {
+ implementationVersion += "/${project.property("sparklypaperImplementationVersionSuffix")}"
+ }
+ // SparklyPaper end
val date = git("show", "-s", "--format=%ci", gitHash).getText().trim() // Paper