mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-22 17:27:38 +00:00
Re-add shading/relocation of fastutils and add a dumb class because minimise doesn't scan worldedit-adapters
This commit is contained in:
parent
46f2a202e6
commit
5e9535db41
@ -147,9 +147,9 @@ tasks.named<ShadowJar>("shadowJar") {
|
|||||||
relocate("io.papermc.lib", "com.sk89q.worldedit.bukkit.paperlib") {
|
relocate("io.papermc.lib", "com.sk89q.worldedit.bukkit.paperlib") {
|
||||||
include(dependency("io.papermc:paperlib"))
|
include(dependency("io.papermc:paperlib"))
|
||||||
}
|
}
|
||||||
// relocate("it.unimi.dsi.fastutil", "com.sk89q.worldedit.bukkit.fastutil") {
|
relocate("it.unimi.dsi.fastutil", "com.sk89q.worldedit.bukkit.fastutil") {
|
||||||
// include(dependency("it.unimi.dsi:fastutil"))
|
include(dependency("it.unimi.dsi:fastutil"))
|
||||||
// }
|
}
|
||||||
relocate("org.incendo.serverlib", "com.fastasyncworldedit.serverlib") {
|
relocate("org.incendo.serverlib", "com.fastasyncworldedit.serverlib") {
|
||||||
include(dependency("org.incendo.serverlib:ServerLib:2.2.1"))
|
include(dependency("org.incendo.serverlib:ServerLib:2.2.1"))
|
||||||
}
|
}
|
||||||
|
@ -0,0 +1,18 @@
|
|||||||
|
package com.fastasyncworldedit.bukkit.util;
|
||||||
|
|
||||||
|
import it.unimi.dsi.fastutil.longs.Long2ObjectLinkedOpenHashMap;
|
||||||
|
import it.unimi.dsi.fastutil.longs.LongArraySet;
|
||||||
|
import it.unimi.dsi.fastutil.longs.LongIterator;
|
||||||
|
import it.unimi.dsi.fastutil.longs.LongSet;
|
||||||
|
import it.unimi.dsi.fastutil.ints.Int2ObjectMap;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Class to prevent the above/below being removed from shaded/relocated dependencies via minimization
|
||||||
|
*/
|
||||||
|
final class DoNotMiniseThese {
|
||||||
|
private final Long2ObjectLinkedOpenHashMap a = null;
|
||||||
|
private final LongArraySet b = null;
|
||||||
|
private final LongIterator c = null;
|
||||||
|
private final LongSet d = null;
|
||||||
|
private final Int2ObjectMap e = null;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user