[ci skip] Misc gradle updates (#6763)

This commit is contained in:
Jason 2021-10-11 16:31:53 -05:00 committed by GitHub
parent 4a0d935cd0
commit 54813dbb21
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 34 additions and 39 deletions

View file

@ -5,10 +5,10 @@ Subject: [PATCH] Add git branch and commit to manifest
diff --git a/build.gradle.kts b/build.gradle.kts
index cb7fa25b28ace6a06d581f300a3ec5d833e41d03..e9cdebd25bec965a52916ee09e358564d42777d0 100644
index 149607e8c080b79a20d204382db69fde58c6b513..f7f10a029fca29ed131324dda8030bd15abcbead 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -76,6 +76,7 @@ tasks.jar {
@@ -73,6 +73,7 @@ tasks.jar {
val gitHash = git("rev-parse", "--short=7", "HEAD").getText().trim()
val implementationVersion = System.getenv("BUILD_NUMBER") ?: "\"$gitHash\""
val date = git("show", "-s", "--format=%ci", gitHash).getText().trim() // Paper
@ -16,7 +16,7 @@ index cb7fa25b28ace6a06d581f300a3ec5d833e41d03..e9cdebd25bec965a52916ee09e358564
attributes(
"Main-Class" to "org.bukkit.craftbukkit.Main",
"Implementation-Title" to "CraftBukkit",
@@ -85,6 +86,8 @@ tasks.jar {
@@ -82,6 +83,8 @@ tasks.jar {
"Specification-Version" to project.version,
"Specification-Vendor" to "Bukkit Team",
"Multi-Release" to "true", // Paper