forked from GeyserMC/Geyser
Relocate Google Common (#1242)
Fixes NoSuchMethodErrors from occuring on certain Spigot servers.
This commit is contained in:
parent
4f761c5bde
commit
4c58568eb4
4 changed files with 20 additions and 4 deletions
|
@ -73,9 +73,13 @@
|
||||||
<pattern>org.reflections</pattern>
|
<pattern>org.reflections</pattern>
|
||||||
<shadedPattern>org.geysermc.platform.bungeecord.shaded.reflections</shadedPattern>
|
<shadedPattern>org.geysermc.platform.bungeecord.shaded.reflections</shadedPattern>
|
||||||
</relocation>
|
</relocation>
|
||||||
|
<relocation>
|
||||||
|
<pattern>com.google.common</pattern>
|
||||||
|
<shadedPattern>org.geysermc.platform.bungeecord.shaded.google.common</shadedPattern>
|
||||||
|
</relocation>
|
||||||
<relocation>
|
<relocation>
|
||||||
<pattern>com.google.guava</pattern>
|
<pattern>com.google.guava</pattern>
|
||||||
<shadedPattern>org.geysermc.platform.bungeecord.shaded.guava</shadedPattern>
|
<shadedPattern>org.geysermc.platform.bungeecord.shaded.google.guava</shadedPattern>
|
||||||
</relocation>
|
</relocation>
|
||||||
<relocation>
|
<relocation>
|
||||||
<pattern>org.dom4j</pattern>
|
<pattern>org.dom4j</pattern>
|
||||||
|
|
|
@ -79,9 +79,13 @@
|
||||||
<pattern>org.reflections</pattern>
|
<pattern>org.reflections</pattern>
|
||||||
<shadedPattern>org.geysermc.platform.spigot.shaded.reflections</shadedPattern>
|
<shadedPattern>org.geysermc.platform.spigot.shaded.reflections</shadedPattern>
|
||||||
</relocation>
|
</relocation>
|
||||||
|
<relocation>
|
||||||
|
<pattern>com.google.common</pattern>
|
||||||
|
<shadedPattern>org.geysermc.platform.spigot.shaded.google.common</shadedPattern>
|
||||||
|
</relocation>
|
||||||
<relocation>
|
<relocation>
|
||||||
<pattern>com.google.guava</pattern>
|
<pattern>com.google.guava</pattern>
|
||||||
<shadedPattern>org.geysermc.platform.spigot.shaded.guava</shadedPattern>
|
<shadedPattern>org.geysermc.platform.spigot.shaded.google.guava</shadedPattern>
|
||||||
</relocation>
|
</relocation>
|
||||||
<relocation>
|
<relocation>
|
||||||
<pattern>org.dom4j</pattern>
|
<pattern>org.dom4j</pattern>
|
||||||
|
|
|
@ -73,9 +73,13 @@
|
||||||
<pattern>org.reflections</pattern>
|
<pattern>org.reflections</pattern>
|
||||||
<shadedPattern>org.geysermc.platform.sponge.shaded.reflections</shadedPattern>
|
<shadedPattern>org.geysermc.platform.sponge.shaded.reflections</shadedPattern>
|
||||||
</relocation>
|
</relocation>
|
||||||
|
<relocation>
|
||||||
|
<pattern>com.google.common</pattern>
|
||||||
|
<shadedPattern>org.geysermc.platform.sponge.shaded.google.common</shadedPattern>
|
||||||
|
</relocation>
|
||||||
<relocation>
|
<relocation>
|
||||||
<pattern>com.google.guava</pattern>
|
<pattern>com.google.guava</pattern>
|
||||||
<shadedPattern>org.geysermc.platform.sponge.shaded.guava</shadedPattern>
|
<shadedPattern>org.geysermc.platform.sponge.shaded.google.guava</shadedPattern>
|
||||||
</relocation>
|
</relocation>
|
||||||
<relocation>
|
<relocation>
|
||||||
<pattern>org.dom4j</pattern>
|
<pattern>org.dom4j</pattern>
|
||||||
|
|
|
@ -69,9 +69,13 @@
|
||||||
<pattern>org.reflections</pattern>
|
<pattern>org.reflections</pattern>
|
||||||
<shadedPattern>org.geysermc.platform.velocity.shaded.reflections</shadedPattern>
|
<shadedPattern>org.geysermc.platform.velocity.shaded.reflections</shadedPattern>
|
||||||
</relocation>
|
</relocation>
|
||||||
|
<relocation>
|
||||||
|
<pattern>com.google.common</pattern>
|
||||||
|
<shadedPattern>org.geysermc.platform.velocity.shaded.google.common</shadedPattern>
|
||||||
|
</relocation>
|
||||||
<relocation>
|
<relocation>
|
||||||
<pattern>com.google.guava</pattern>
|
<pattern>com.google.guava</pattern>
|
||||||
<shadedPattern>org.geysermc.platform.velocity.shaded.guava</shadedPattern>
|
<shadedPattern>org.geysermc.platform.velocity.shaded.google.guava</shadedPattern>
|
||||||
</relocation>
|
</relocation>
|
||||||
<relocation>
|
<relocation>
|
||||||
<pattern>org.dom4j</pattern>
|
<pattern>org.dom4j</pattern>
|
||||||
|
|
Loading…
Reference in a new issue