mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-29 12:27:59 +01:00
Update Adventure to 4.17.0 Release
This commit is contained in:
parent
93f003b64f
commit
2d2eafa713
@ -49,7 +49,6 @@ subprojects {
|
|||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
maven(paperMavenPublicUrl)
|
maven(paperMavenPublicUrl)
|
||||||
maven("https://s01.oss.sonatype.org/content/repositories/snapshots/") // TODO - Adventure snapshot
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
|
|
||||||
val annotationsVersion = "24.1.0"
|
val annotationsVersion = "24.1.0"
|
||||||
val bungeeCordChatVersion = "1.20-R0.2"
|
val bungeeCordChatVersion = "1.20-R0.2"
|
||||||
+val adventureVersion = "4.17.0-SNAPSHOT"
|
+val adventureVersion = "4.17.0"
|
||||||
+val apiAndDocs: Configuration by configurations.creating {
|
+val apiAndDocs: Configuration by configurations.creating {
|
||||||
+ attributes {
|
+ attributes {
|
||||||
+ attribute(Category.CATEGORY_ATTRIBUTE, objects.named(Category.DOCUMENTATION))
|
+ attribute(Category.CATEGORY_ATTRIBUTE, objects.named(Category.DOCUMENTATION))
|
||||||
@ -66,12 +66,12 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
"https://www.javadoc.io/doc/com.google.code.gson/gson/2.10.1",
|
"https://www.javadoc.io/doc/com.google.code.gson/gson/2.10.1",
|
||||||
// Paper end
|
// Paper end
|
||||||
+ // Paper start
|
+ // Paper start
|
||||||
+ //"https://jd.advntr.dev/api/$adventureVersion/",
|
+ "https://jd.advntr.dev/api/$adventureVersion/",
|
||||||
+ //"https://jd.advntr.dev/text-minimessage/$adventureVersion/",
|
+ "https://jd.advntr.dev/text-minimessage/$adventureVersion/",
|
||||||
+ //"https://jd.advntr.dev/text-serializer-gson/$adventureVersion/",
|
+ "https://jd.advntr.dev/text-serializer-gson/$adventureVersion/",
|
||||||
+ //"https://jd.advntr.dev/text-serializer-legacy/$adventureVersion/",
|
+ "https://jd.advntr.dev/text-serializer-legacy/$adventureVersion/",
|
||||||
+ //"https://jd.advntr.dev/text-serializer-plain/$adventureVersion/",
|
+ "https://jd.advntr.dev/text-serializer-plain/$adventureVersion/",
|
||||||
+ //"https://jd.advntr.dev/text-logger-slf4j/$adventureVersion/",
|
+ "https://jd.advntr.dev/text-logger-slf4j/$adventureVersion/",
|
||||||
+ // Paper end
|
+ // Paper end
|
||||||
)
|
)
|
||||||
options.tags("apiNote:a:API Note:")
|
options.tags("apiNote:a:API Note:")
|
||||||
|
@ -20,7 +20,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
@@ -0,0 +0,0 @@ java {
|
@@ -0,0 +0,0 @@ java {
|
||||||
val annotationsVersion = "24.1.0"
|
val annotationsVersion = "24.1.0"
|
||||||
val bungeeCordChatVersion = "1.20-R0.2"
|
val bungeeCordChatVersion = "1.20-R0.2"
|
||||||
val adventureVersion = "4.17.0-SNAPSHOT"
|
val adventureVersion = "4.17.0"
|
||||||
+val slf4jVersion = "2.0.9"
|
+val slf4jVersion = "2.0.9"
|
||||||
+val log4jVersion = "2.17.1"
|
+val log4jVersion = "2.17.1"
|
||||||
val apiAndDocs: Configuration by configurations.creating {
|
val apiAndDocs: Configuration by configurations.creating {
|
||||||
@ -36,9 +36,9 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
implementation("org.ow2.asm:asm:9.7")
|
implementation("org.ow2.asm:asm:9.7")
|
||||||
implementation("org.ow2.asm:asm-commons:9.7")
|
implementation("org.ow2.asm:asm-commons:9.7")
|
||||||
@@ -0,0 +0,0 @@ tasks.withType<Javadoc> {
|
@@ -0,0 +0,0 @@ tasks.withType<Javadoc> {
|
||||||
//"https://jd.advntr.dev/text-serializer-legacy/$adventureVersion/",
|
"https://jd.advntr.dev/text-serializer-legacy/$adventureVersion/",
|
||||||
//"https://jd.advntr.dev/text-serializer-plain/$adventureVersion/",
|
"https://jd.advntr.dev/text-serializer-plain/$adventureVersion/",
|
||||||
//"https://jd.advntr.dev/text-logger-slf4j/$adventureVersion/",
|
"https://jd.advntr.dev/text-logger-slf4j/$adventureVersion/",
|
||||||
+ "https://javadoc.io/doc/org.slf4j/slf4j-api/$slf4jVersion/",
|
+ "https://javadoc.io/doc/org.slf4j/slf4j-api/$slf4jVersion/",
|
||||||
+ "https://javadoc.io/doc/org.apache.logging.log4j/log4j-api/$log4jVersion/",
|
+ "https://javadoc.io/doc/org.apache.logging.log4j/log4j-api/$log4jVersion/",
|
||||||
// Paper end
|
// Paper end
|
||||||
|
@ -18,8 +18,8 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
compileOnly("org.apache.maven.resolver:maven-resolver-transport-http:1.9.18")
|
compileOnly("org.apache.maven.resolver:maven-resolver-transport-http:1.9.18")
|
||||||
|
|
||||||
@@ -0,0 +0,0 @@ tasks.withType<Javadoc> {
|
@@ -0,0 +0,0 @@ tasks.withType<Javadoc> {
|
||||||
//"https://jd.advntr.dev/text-serializer-plain/$adventureVersion/",
|
"https://jd.advntr.dev/text-serializer-plain/$adventureVersion/",
|
||||||
//"https://jd.advntr.dev/text-logger-slf4j/$adventureVersion/",
|
"https://jd.advntr.dev/text-logger-slf4j/$adventureVersion/",
|
||||||
// Paper end
|
// Paper end
|
||||||
+ "https://javadoc.io/doc/org.apache.maven.resolver/maven-resolver-api/1.7.3", // Paper
|
+ "https://javadoc.io/doc/org.apache.maven.resolver/maven-resolver-api/1.7.3", // Paper
|
||||||
)
|
)
|
||||||
|
@ -44,7 +44,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
+ // Paper start
|
+ // Paper start
|
||||||
+ implementation("org.jline:jline-terminal-jansi:3.21.0")
|
+ implementation("org.jline:jline-terminal-jansi:3.21.0")
|
||||||
+ implementation("net.minecrell:terminalconsoleappender:1.3.0")
|
+ implementation("net.minecrell:terminalconsoleappender:1.3.0")
|
||||||
+ implementation("net.kyori:adventure-text-serializer-ansi:4.16.0") // Keep in sync with adventureVersion from Paper-API build file
|
+ implementation("net.kyori:adventure-text-serializer-ansi:4.17.0") // Keep in sync with adventureVersion from Paper-API build file
|
||||||
+ /*
|
+ /*
|
||||||
+ Required to add the missing Log4j2Plugins.dat file from log4j-core
|
+ Required to add the missing Log4j2Plugins.dat file from log4j-core
|
||||||
+ which has been removed by Mojang. Without it, log4j has to classload
|
+ which has been removed by Mojang. Without it, log4j has to classload
|
||||||
|
Loading…
Reference in New Issue
Block a user