LibsDisguises/minimessage/build.gradle.kts
2024-08-07 12:02:35 +12:00

30 lines
643 B
Plaintext

plugins {
alias(libs.plugins.shadowjar)
}
dependencies {
shadow(libs.net.kyori.adventure.api)
shadow(libs.net.kyori.adventure.text.minimessage)
shadow(libs.net.kyori.adventure.text.serializer.json)
shadow(libs.net.kyori.adventure.text.serializer.gson) {
exclude("*")
}
}
artifacts.add("shadow", tasks.shadowJar.get())
tasks {
jar {
isEnabled = false
}
build {
dependsOn(shadowJar)
}
shadowJar {
configurations = listOf(project.configurations.shadow.get())
relocate("net.kyori", "libsdisg.shaded.net.kyori")
archiveClassifier.set("shadow")
}
}