Fix minimessage in velocity module

This commit is contained in:
Len
2022-09-09 19:56:14 +02:00
parent 6fc198bbc7
commit 2c2711e0e7
6 changed files with 57 additions and 52 deletions
+13 -9
View File
@@ -5,21 +5,25 @@ plugins {
dependencies {
// API
implementation(project(":boosters-api"))
implementation(project(":boosters-api")) {
exclude("com.alttd:Galaxy-API:1.19.2-R0.1-SNAPSHOT")
}
// Velocity
compileOnly("com.velocitypowered:velocity-api:3.0.0")
annotationProcessor("com.velocitypowered:velocity-api:3.0.0")
annotationProcessor("com.velocitypowered:velocity-api:3.1.2-SNAPSHOT")
// DiscordLink
compileOnly("com.alttd.proxydiscordlink:ProxyDiscordLink:1.0.0-BETA-SNAPSHOT")
compileOnly("com.alttd.proxydiscordlink:ProxyDiscordLink:1.0.0-BETA-SNAPSHOT") {
exclude("net.kyori")
}
implementation("mysql:mysql-connector-java:8.0.27") // mysql
implementation("org.spongepowered", "configurate-yaml", "4.1.2")
implementation("net.kyori", "adventure-text-minimessage", "4.1.0-SNAPSHOT") {
exclude("net.kyori")
exclude("net.kyori.examination")
}
// implementation("net.kyori", "adventure-text-minimessage", "4.1.0-SNAPSHOT") {
// exclude("net.kyori")
// exclude("net.kyori.examination")
// }
//Luckperms
compileOnly("net.luckperms:api:5.3")
compileOnly("com.velocitypowered:velocity-api:3.1.2-SNAPSHOT") // Velocity
}
tasks {
@@ -27,7 +31,7 @@ tasks {
shadowJar {
archiveFileName.set("${project.name}-${project.version}.jar")
listOf(
"net.kyori.adventure.text.minimessage",
// "net.kyori.adventure.text.minimessage",
"org.spongepowered.configurate"
).forEach { relocate(it, "${rootProject.name}.lib.$it") }
}