update and relocation

This commit is contained in:
unurled 2024-05-25 15:48:02 +02:00
parent 1568c0a64a
commit d52fc0d9eb
Signed by: unurled
GPG key ID: FDBC9CBE1F82423F

View file

@ -1,6 +1,6 @@
plugins {
`java-library`
id("io.papermc.paperweight.userdev") version "1.6.2"
id("io.papermc.paperweight.userdev") version "1.7.1"
id("io.github.goooler.shadow") version "8.1.7"
id("org.sonarqube") version "4.4.1.3373"
}
@ -58,13 +58,19 @@ tasks {
expand(props)
}
}
build {
dependsOn(shadowJar)
}
shadowJar {
archiveClassifier.set("")
relocate("com.google", "libs.com.google")
relocate("org.apache", "libs.org.apache")
relocate("org.intellij", "libs.org.intellij")
relocate("org.jetbrains", "libs.org.jetbrains")
relocate("org.json", "libs.org.json")
exclude("org.slf4j")
relocate("redis", "libs.redis")
relocate("xyz.xenondevs", "libs.xyz.xenondevs")
exclude("org.slf4j")
}
sonar {
properties {