diff --git a/buildSrc/src/main/kotlin/PlatformConfig.kt b/buildSrc/src/main/kotlin/PlatformConfig.kt index dc4d3e37..52645cd1 100644 --- a/buildSrc/src/main/kotlin/PlatformConfig.kt +++ b/buildSrc/src/main/kotlin/PlatformConfig.kt @@ -98,7 +98,6 @@ relocate("org.flywaydb", "com.sk89q.worldguard.internal.flywaydb") { include(dependency("org.flywaydb:flyway-core:3.0")) } - relocate("org.enginehub.squirrelid", "com.sk89q.worldguard.util.profile") exclude("com.google.code.findbugs:jsr305") } exclude("GradleStart**") diff --git a/worldguard-libs/core/build.gradle.kts b/worldguard-libs/core/build.gradle.kts index 2b131b32..2551871c 100644 --- a/worldguard-libs/core/build.gradle.kts +++ b/worldguard-libs/core/build.gradle.kts @@ -1,6 +1,18 @@ +import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar + applyLibrariesConfiguration() dependencies { "shade"("org.enginehub:squirrelid:${Versions.SQUIRRELID}") "shade"("org.khelekore:prtree:1.5.0") } + +tasks.named("jar") { + dependencies { + relocate("org.enginehub.squirrelid", "com.sk89q.worldguard.util.profile") { + include(dependency("org.enginehub:squirrelid")) + } + + include(dependency("org.khelekore:prtree")) + } +} \ No newline at end of file