Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-12-29 09:30:08 +01:00
Ursprung
3c73d70f63
Commit
5e227cb4a5
@ -32,28 +32,17 @@ private fun ShadowJar.configureRelocations() {
|
|||||||
relocate("javassist", "us.myles.viaversion.libs.javassist")
|
relocate("javassist", "us.myles.viaversion.libs.javassist")
|
||||||
relocate("com.google.gson", "us.myles.viaversion.libs.gson")
|
relocate("com.google.gson", "us.myles.viaversion.libs.gson")
|
||||||
relocate("com.github.steveice10.opennbt", "us.myles.viaversion.libs.opennbt")
|
relocate("com.github.steveice10.opennbt", "us.myles.viaversion.libs.opennbt")
|
||||||
relocate("net.md_5.bungee", "us.myles.viaversion.libs.bungeecordchat")
|
relocate("net.md_5.bungee", "us.myles.viaversion.libs.bungeecordchat") {
|
||||||
relocate("it.unimi.dsi.fastutil", "us.myles.viaversion.libs.fastutil")
|
|
||||||
}
|
|
||||||
|
|
||||||
private fun ShadowJar.configureExcludes() {
|
|
||||||
// bungee api
|
|
||||||
/*
|
|
||||||
include("net.md_5.bungee.api.chat.*")
|
include("net.md_5.bungee.api.chat.*")
|
||||||
include("net.md_5.bungee.api.ChatColor")
|
include("net.md_5.bungee.api.ChatColor")
|
||||||
include("net.md_5.bungee.api.ChatMessageType")
|
include("net.md_5.bungee.api.ChatMessageType")
|
||||||
include("net.md_5.bungee.chat.*")
|
include("net.md_5.bungee.chat.*")
|
||||||
*/
|
}
|
||||||
|
relocate("it.unimi.dsi.fastutil", "us.myles.viaversion.libs.fastutil")
|
||||||
// fastutil
|
}
|
||||||
|
|
||||||
// We only want int and Object maps
|
|
||||||
/*
|
|
||||||
include("it.unimi.dsi.fastutil.ints.*")
|
|
||||||
include("it.unimi.dsi.fastutil.objects.*")
|
|
||||||
include("it.unimi.dsi.fastutil.*.class")
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
private fun ShadowJar.configureExcludes() {
|
||||||
|
// FastUtil - we only want object and int maps
|
||||||
// Object types
|
// Object types
|
||||||
exclude("it/unimi/dsi/fastutil/*/*Reference*")
|
exclude("it/unimi/dsi/fastutil/*/*Reference*")
|
||||||
exclude("it/unimi/dsi/fastutil/*/*Boolean*")
|
exclude("it/unimi/dsi/fastutil/*/*Boolean*")
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren