mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-04-19 17:58:15 +02:00
prep for update
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
--- a/paper-server/build.gradle.kts
|
||||
+++ b/paper-server/build.gradle.kts
|
||||
@@ -2,6 +_,7 @@
|
||||
@@ -2,6 +_,8 @@
|
||||
import io.papermc.paperweight.attribute.DevBundleOutput
|
||||
import io.papermc.paperweight.util.*
|
||||
import java.time.Instant
|
||||
+import kotlin.io.path.createParentDirectories
|
||||
+import kotlin.io.path.writeText
|
||||
|
||||
plugins {
|
||||
@@ -116,7 +117,7 @@
|
||||
project("paper")
|
||||
versionFamily(paperweight.minecraftVersion.map { it.split(".", "-").takeWhile { part -> part.toIntOrNull() != null }.take(2).joinToString(".") })
|
||||
version(paperweight.minecraftVersion)
|
||||
@@ -371,4 +_,44 @@
|
||||
@@ -371,4 +_,47 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -129,6 +130,9 @@
|
||||
+// val patchDir = project.rootDir.resolve("purpur-server/minecraft-patches/sources").convertToPath().cleanDir()
|
||||
+// val inputDir = this.project.rootDir.resolve("purpur-server/src/minecraft/java").convertToPath()
|
||||
+//
|
||||
+// //val patchDir = project.rootDir.resolve("purpur-server/paper-patches/files").convertToPath().cleanDir()
|
||||
+// //val inputDir = this.project.rootDir.resolve("paper-server").convertToPath()
|
||||
+//
|
||||
+// val git = Git(inputDir)
|
||||
+// git("stash", "push").executeSilently(silenceErr = true)
|
||||
+// git("checkout", "file").executeSilently(silenceErr = true)
|
||||
|
||||
Reference in New Issue
Block a user