#How can I exclude an `implementation` dependency from remapping?

5 messages · Page 1 of 1 (latest)

marble gazelle
#

if the remapJar task fails the dependency is already included in the jar? are u using shadowjar for that or does loom do that for u? I would just bundle the dependency into my mod jar after it has been remapped?

marble gazelle
#

ah wait I only just get you now, tricky. have u tried updating loom, maybe newer versions come with a newer asm version?

#

also the remapJar gradle task has a classpath, what happens if you remove the jar of your dependency from that classpath? Remapping might crash in another way and its really an awful idea but it might work

marble gazelle
#

are you not going to need the dependency at runtime?

marble gazelle
#

is that gonna work at runtime? minecraft has only updated to java 21 yet