diff --git a/patches/server/0001-Rebrand.patch b/patches/server/0001-Rebrand.patch index e8f393fc8..53852bd65 100644 --- a/patches/server/0001-Rebrand.patch +++ b/patches/server/0001-Rebrand.patch @@ -5,7 +5,7 @@ Subject: [PATCH] Rebrand diff --git a/build.gradle.kts b/build.gradle.kts -index f427c6f5adf20f9e1b1fa4ab56041506d8240c92..008c1a4af01a981bab96e5cf12d25fab3640d2ce 100644 +index f427c6f5adf20f9e1b1fa4ab56041506d8240c92..ec3f43392fc844cd3e327cdf73f6cd3396ae2238 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -30,8 +30,8 @@ repositories { @@ -27,16 +27,20 @@ index f427c6f5adf20f9e1b1fa4ab56041506d8240c92..008c1a4af01a981bab96e5cf12d25fab implementation("com.github.oshi:oshi-core:5.7.5") // Paper - fix startup delay and warning -@@ -80,7 +81,7 @@ tasks.jar { +@@ -77,10 +78,11 @@ tasks.jar { + manifest { + val git = Git(rootProject.layout.projectDirectory.path) + val gitHash = git("rev-parse", "HEAD").getText().substring(0, 7) ++ val implementationVersion = System.getenv("BUILD_NUMBER") ?: "\"$gitHash\"" // Purpur attributes( "Main-Class" to "org.bukkit.craftbukkit.Main", "Implementation-Title" to "CraftBukkit", - "Implementation-Version" to "git-Paper-\"$gitHash\"", -+ "Implementation-Version" to "git-Purpur-\"$gitHash\"", // Purpur ++ "Implementation-Version" to "git-Purpur-$implementationVersion", // Purpur "Implementation-Vendor" to SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'Z'").format(Date()), // Paper "Specification-Title" to "Bukkit", "Specification-Version" to project.version, -@@ -174,7 +175,7 @@ tasks.test { +@@ -174,7 +176,7 @@ tasks.test { fun TaskContainer.registerRunTask( name: String, block: JavaExec.() -> Unit ): TaskProvider = register(name) {