From 70d289ddbe676583aa13f46764a31bf7a2b05eb2 Mon Sep 17 00:00:00 2001 From: Aurora <21148213+aurorasmiles@users.noreply.github.com> Date: Mon, 26 Apr 2021 23:11:38 +0200 Subject: [PATCH] Extract Adventure Version into a variable, add reminder to update the linked JD on the homepage (#5422) --- Spigot-API-Patches/Adventure.patch | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/Spigot-API-Patches/Adventure.patch b/Spigot-API-Patches/Adventure.patch index 9b0727ba69..3d0d42b7aa 100644 --- a/Spigot-API-Patches/Adventure.patch +++ b/Spigot-API-Patches/Adventure.patch @@ -10,6 +10,14 @@ diff --git a/pom.xml b/pom.xml index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644 --- a/pom.xml +++ b/pom.xml +@@ -0,0 +0,0 @@ + 1.8 + 1.8 + UTF-8 ++ 4.7.0 + + + @@ -0,0 +0,0 @@ @@ -20,7 +28,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 + + net.kyori + adventure-bom -+ 4.7.0 ++ ${adventure.version} + pom + import + @@ -55,10 +63,10 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 https://javadoc.io/doc/org.jetbrains/annotations-java5/20.1.0/ https://javadoc.io/doc/net.md-5/bungeecord-chat/1.16-R0.4/ + -+ https://jd.adventure.kyori.net/api/4.7.0/ -+ https://jd.adventure.kyori.net/text-serializer-gson/4.7.0/ -+ https://jd.adventure.kyori.net/text-serializer-legacy/4.7.0/ -+ https://jd.adventure.kyori.net/text-serializer-plain/4.7.0/ ++ https://jd.adventure.kyori.net/api/${adventure.version}/ ++ https://jd.adventure.kyori.net/text-serializer-gson/${adventure.version}/ ++ https://jd.adventure.kyori.net/text-serializer-legacy/${adventure.version}/ ++ https://jd.adventure.kyori.net/text-serializer-plain/${adventure.version}/ +