aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/1053-Version-Catalog-POC.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/server/1053-Version-Catalog-POC.patch')
-rw-r--r--patches/server/1053-Version-Catalog-POC.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/patches/server/1053-Version-Catalog-POC.patch b/patches/server/1053-Version-Catalog-POC.patch
new file mode 100644
index 0000000000..7e62762502
--- /dev/null
+++ b/patches/server/1053-Version-Catalog-POC.patch
@@ -0,0 +1,27 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: Jason Penilla <[email protected]>
+Date: Sat, 25 Nov 2023 16:01:16 -0800
+Subject: [PATCH] Version Catalog POC
+
+
+diff --git a/build.gradle.kts b/build.gradle.kts
+index 79beac737c17412913983614bd478d33e3c6ed58..0dec0afa97f9d4a8d0adf2c33589d137dd6a3ebb 100644
+--- a/build.gradle.kts
++++ b/build.gradle.kts
+@@ -18,7 +18,7 @@ dependencies {
+ // Paper start
+ implementation("org.jline:jline-terminal-jansi:3.21.0")
+ implementation("net.minecrell:terminalconsoleappender:1.3.0")
+- implementation("net.kyori:adventure-text-serializer-ansi:4.14.0") // Keep in sync with adventureVersion from Paper-API build file
++ implementation(libs.adventure.text.serializer.ansi)
+ implementation("net.kyori:ansi:1.0.3") // Manually bump beyond above transitive dep
+ /*
+ Required to add the missing Log4j2Plugins.dat file from log4j-core
+diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml
+new file mode 100644
+index 0000000000000000000000000000000000000000..3de7b4066dfd57f8074fecf7038393a2c7398059
+--- /dev/null
++++ b/gradle/libs.versions.toml
+@@ -0,0 +1,2 @@
++[libraries]
++adventure-text-serializer-ansi = { module = "net.kyori:adventure-text-serializer-ansi", version.ref = "adventure" }