Wire Iris jar shrink

- Wire the ProGuard shrink pass into the Bukkit artifact with the core, Bukkit plugin and NMS compile classpaths as library jars
- Map the fourteen SlimJar relocations so runtime-downloaded libraries resolve under their relocated names
- Add packaging/shrink.pro keeping the public API, Iris events, platform SPI, VolmLib integration contract and Bukkit event handler lists
- Lower maximumBukkitArtifactBytes to 7,600,000 so verifyBukkitArtifact enforces the same budget as the packaging gate
- Build VolmitSender.name() from the sender name instead of the relocated CommandSender.name() reference, which cannot resolve on Paper 26.2
This commit is contained in:
Brian Neumann-Fopiano committed 2026-09-07 23:28:48 -04:00
1 parent 9b9ca8de34
commit 031d4ade2c
3 files changed
+32 -2

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
-keep class art.arcane.iris.api.** { *; }
-keep class art.arcane.iris.core.events.** { *; }
-keep class art.arcane.iris.spi.** { *; }
-keep class art.arcane.volmlib.integration.** { *; }
-keep class * implements art.arcane.volmlib.integration.IntegrationServiceContract { *; }
-keep class * implements art.arcane.volmlib.integration.ReloadAware { *; }
-keepclassmembers class * extends org.bukkit.event.Event {
public static org.bukkit.event.HandlerList getHandlerList();
public org.bukkit.event.HandlerList getHandlers();
}