Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-09-08 22:02:50 +02: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") {
|
||||||
|
include("net.md_5.bungee.api.chat.*")
|
||||||
|
include("net.md_5.bungee.api.ChatColor")
|
||||||
|
include("net.md_5.bungee.api.ChatMessageType")
|
||||||
|
include("net.md_5.bungee.chat.*")
|
||||||
|
}
|
||||||
relocate("it.unimi.dsi.fastutil", "us.myles.viaversion.libs.fastutil")
|
relocate("it.unimi.dsi.fastutil", "us.myles.viaversion.libs.fastutil")
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun ShadowJar.configureExcludes() {
|
private fun ShadowJar.configureExcludes() {
|
||||||
// bungee api
|
// FastUtil - we only want object and int maps
|
||||||
/*
|
|
||||||
include("net.md_5.bungee.api.chat.*")
|
|
||||||
include("net.md_5.bungee.api.ChatColor")
|
|
||||||
include("net.md_5.bungee.api.ChatMessageType")
|
|
||||||
include("net.md_5.bungee.chat.*")
|
|
||||||
*/
|
|
||||||
|
|
||||||
// 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")
|
|
||||||
*/
|
|
||||||
|
|
||||||
// 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