Skip to content

Commit

Permalink
Thanks Gradle
Browse files Browse the repository at this point in the history
I have no idea why this wasn't working
  • Loading branch information
MrPowerGamerBR committed Nov 22, 2023
1 parent dc7cea5 commit 2067615
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2067615

Please sign in to comment.