diff options
author | Nassim Jahnke <[email protected]> | 2024-12-23 12:29:27 +0100 |
---|---|---|
committer | Nassim Jahnke <[email protected]> | 2024-12-23 12:29:27 +0100 |
commit | 63c94c90d9386bf4343c51753f2a386eb64cca60 (patch) | |
tree | fe047bff15cec2248f7c850f70d2c3435ff24d63 /build.gradle.kts | |
parent | 976b0a4d8b9d2a191d854b959c552b5e80e92543 (diff) | |
download | Paper-63c94c90d9386bf4343c51753f2a386eb64cca60.tar.gz Paper-63c94c90d9386bf4343c51753f2a386eb64cca60.zip |
[ci skip] Comment out update tasks, update comments
Diffstat (limited to 'build.gradle.kts')
-rw-r--r-- | build.gradle.kts | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/build.gradle.kts b/build.gradle.kts index 03fd12ce48..b4bff61430 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -82,7 +82,9 @@ tasks.register("printPaperVersion") { } } -tasks.register("gibWork") { +/* +// Used when updating to a new Minecraft version +tasks.register("pickUpdateDirectory") { val issue = providers.gradleProperty("updateTaskListIssue").get() val patchesFolder = layout.projectDirectory.dir("paper-server/patches/").convertToPath() val storage = layout.cache.resolve("last-updating-folder").also { it.parent.createDirectories() } @@ -122,7 +124,7 @@ tasks.register("gibWork") { } } -tasks.register("showWork") { +tasks.register("showUpdateDirectories") { val patchDir = layout.projectDirectory.dir("paper-server/patches/unapplied/").convertToPath() doLast { @@ -137,7 +139,7 @@ tasks.register("showWork") { } } -tasks.register("checkWork") { +tasks.register("moveUpdateDirectory") { notCompatibleWithConfigurationCache("This task is interactive") fun expandUserHome(path: String): Path { return Path.of(path.replaceFirst("^~".toRegex(), System.getProperty("user.home"))) @@ -179,7 +181,6 @@ tasks.register("checkWork") { } // see gradle.properties -/* if (providers.gradleProperty("updatingMinecraft").getOrElse("false").toBoolean()) { tasks.collectAtsFromPatches { val dir = layout.projectDirectory.dir("patches/unapplied/server") |