mirror of
https://github.com/GeyserMC/Geyser.git
synced 2025-12-20 07:19:29 +00:00
Exclude from relocation, not inclusion
This commit is contained in:
@@ -43,9 +43,11 @@ fun Project.exclude(group: String) {
|
||||
}
|
||||
}
|
||||
|
||||
fun Project.platformRelocate(pattern: String) {
|
||||
fun Project.platformRelocate(pattern: String, exclusion: String = "") {
|
||||
tasks.named<ShadowJar>("shadowJar") {
|
||||
relocate(pattern, "org.geysermc.geyser.platform.${project.name}.shaded.$pattern")
|
||||
relocate(pattern, "org.geysermc.geyser.platform.${project.name}.shaded.$pattern") {
|
||||
exclude(exclusion)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user