update and relocation
This commit is contained in:
parent
1568c0a64a
commit
d52fc0d9eb
1 changed files with 8 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue