Fixed incorrectly shaded squirrelid

This commit is contained in:
JOO200 2021-06-14 12:05:39 +02:00 committed by wizjany
parent 621c1289b3
commit 7436d5064e
2 changed files with 12 additions and 1 deletions

View File

@ -98,7 +98,6 @@
relocate("org.flywaydb", "com.sk89q.worldguard.internal.flywaydb") { relocate("org.flywaydb", "com.sk89q.worldguard.internal.flywaydb") {
include(dependency("org.flywaydb:flyway-core:3.0")) include(dependency("org.flywaydb:flyway-core:3.0"))
} }
relocate("org.enginehub.squirrelid", "com.sk89q.worldguard.util.profile")
exclude("com.google.code.findbugs:jsr305") exclude("com.google.code.findbugs:jsr305")
} }
exclude("GradleStart**") exclude("GradleStart**")

View File

@ -1,6 +1,18 @@
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
applyLibrariesConfiguration() applyLibrariesConfiguration()
dependencies { dependencies {
"shade"("org.enginehub:squirrelid:${Versions.SQUIRRELID}") "shade"("org.enginehub:squirrelid:${Versions.SQUIRRELID}")
"shade"("org.khelekore:prtree:1.5.0") "shade"("org.khelekore:prtree:1.5.0")
} }
tasks.named<ShadowJar>("jar") {
dependencies {
relocate("org.enginehub.squirrelid", "com.sk89q.worldguard.util.profile") {
include(dependency("org.enginehub:squirrelid"))
}
include(dependency("org.khelekore:prtree"))
}
}