13
0
geforkt von Mirrors/Paper

Extract Adventure Version into a variable, add reminder to update the linked JD on the homepage (#5422)

Dieser Commit ist enthalten in:
Aurora 2021-04-26 23:11:38 +02:00
Ursprung 927897bd57
Commit 70d289ddbe

Datei anzeigen

@ -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 @@
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <adventure.version>4.7.0</adventure.version> <!-- Paper - When updating this make sure to update the linked JavaDocs on the homepage as well! -->
</properties>
<repositories>
@@ -0,0 +0,0 @@
</repository>
</repositories>
@ -20,7 +28,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ <dependency>
+ <groupId>net.kyori</groupId>
+ <artifactId>adventure-bom</artifactId>
+ <version>4.7.0</version> <!-- keep this version in synch with javadoc section below! -->
+ <version>${adventure.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
@ -55,10 +63,10 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
<link>https://javadoc.io/doc/org.jetbrains/annotations-java5/20.1.0/</link>
<link>https://javadoc.io/doc/net.md-5/bungeecord-chat/1.16-R0.4/</link>
+ <!-- Paper start -->
+ <link>https://jd.adventure.kyori.net/api/4.7.0/</link>
+ <link>https://jd.adventure.kyori.net/text-serializer-gson/4.7.0/</link>
+ <link>https://jd.adventure.kyori.net/text-serializer-legacy/4.7.0/</link>
+ <link>https://jd.adventure.kyori.net/text-serializer-plain/4.7.0/</link>
+ <link>https://jd.adventure.kyori.net/api/${adventure.version}/</link>
+ <link>https://jd.adventure.kyori.net/text-serializer-gson/${adventure.version}/</link>
+ <link>https://jd.adventure.kyori.net/text-serializer-legacy/${adventure.version}/</link>
+ <link>https://jd.adventure.kyori.net/text-serializer-plain/${adventure.version}/</link>
+ <!-- Paper end -->
</links>
</configuration>