LibsDisguises/minimessage/build.gradle.kts

30 lines
643 B
Plaintext
Raw Normal View History

2024-08-05 13:12:51 +02:00
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")
}
}