IzzelAliz / Arclight

A Bukkit(1.19/1.20) server implementation in modding environment using Mixin. ⚡
GNU General Public License v3.0
1.42k stars 211 forks source link

Arclight ships Antlr 4.9.1, making it impossible to use Antlr 4.13 in plugins #1379

Closed burdoto closed 2 weeks ago

burdoto commented 2 weeks ago

I have confirmed that ...

Arclight version

arclight-1.20.1-1.0.5-1a8925b

OS & Java versions

archlinux 6.6.3-arch1-1 & openjdk 17.0.9 2023-10-17

Plugins and Mods

Only one custom Plugin; No mods

Description

Arclight seems to be shipping a version of antlr; which will then take precendence over any custom versions shipped in custom shadowjar plugins; making it impossible to use a different Antlr version than 4.9.1

Step to reproduce

No response

Logs

No response

Server pack link (Optional)

No response

IzzelAliz commented 2 weeks ago

Arclight do not ship antlr, it's Forge.

burdoto commented 2 weeks ago

i see; are you aware why it does? do you think there's a way to circumvent this dependency for mods? trying to use hibernate 6, which depends on antlr 4.13, but 4.9.1 from forge takes precendence over mod classes

burdoto commented 2 weeks ago

From Minecraft Forge Discord, i was informed that this dependency was redundant and removed in modern versions.