@@ -222,7 +222,7 @@ tasks.jar {
222222 val git = Git (rootProject.layout.projectDirectory.path)
223223 val mcVersion = rootProject.providers.gradleProperty(" mcVersion" ).get()
224224 val build = System .getenv(" BUILD_NUMBER" ) ? : null
225- val buildTime = Instant .now() // Zero: Always use current time
225+ val buildTime = if (build != null ) Instant .now() else Instant . EPOCH // Zero
226226 val gitHash = git.exec(providers, " rev-parse" , " --short=7" , " HEAD" ).get().trim()
227227 val implementationVersion = " $mcVersion -${build ? : " DEV" } -$gitHash "
228228 val date = git.exec(providers, " show" , " -s" , " --format=%ci" , gitHash).get().trim()
@@ -235,7 +235,7 @@ tasks.jar {
235235 " Specification-Title" to " Zero" , // Zero
236236 " Specification-Version" to project.version,
237237 " Specification-Vendor" to " Zero Team" , // Zero
238- " Brand-Id" to " zeromc :zero" , // Zero
238+ " Brand-Id" to " oneachina :zero" , // Zero
239239 " Brand-Name" to " Zero" , // Zero
240240 " Build-Number" to (build ? : " " ),
241241 " Build-Time" to buildTime.toString(),
@@ -407,8 +407,8 @@ tasks.registerRunTask("runReobfPaperclip") {
407407// tasks.register("rebuildMinecraftSourcesWithGit") {
408408// group = "temp"
409409//
410- // val patchDir = project.rootDir.resolve("purpur -server/minecraft-patches/sources").convertToPath().cleanDir()
411- // val inputDir = this.project.rootDir.resolve("purpur -server/src/minecraft/java").convertToPath()
410+ // val patchDir = project.rootDir.resolve("zero -server/minecraft-patches/sources").convertToPath().cleanDir()
411+ // val inputDir = this.project.rootDir.resolve("zero -server/src/minecraft/java").convertToPath()
412412//
413413// val git = Git(inputDir)
414414// git("stash", "push").executeSilently(silenceErr = true)
0 commit comments