Open kmoon2437 opened 2 weeks ago
Which shadow plugin?
On Tue, Sep 10, 2024, at 20:21, Cho Yunjin wrote:
I have a plugin with some dependencies, so I need to make a fat jar file(
plugin-0.0.0-all.jar
) withshadowJar
. However, therunServer
task doesn't uses the fat jar file but the original jar file(plugin-0.0.0.jar
) andNoClassDefFoundError
occurs.— Reply to this email directly, view it on GitHub https://github.com/SpongePowered/SpongeGradle/issues/87, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEZSZDYYDS4BX2R5UDTJH3ZV6ZMVAVCNFSM6AAAAABOAALWK6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGUYTQMZWGY3DGOI. You are receiving this because you are subscribed to this thread.Message ID: @.***>
I'm using com.gradleup.shadow
version 8.3.0
.
Ah, we probably need to update SG for the new plugin ID.
On Tue, Sep 10, 2024, at 21:23, Cho Yunjin wrote:
I'm using
com.gradleup.shadow
version8.3.0
.— Reply to this email directly, view it on GitHub https://github.com/SpongePowered/SpongeGradle/issues/87#issuecomment-2342591607, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEZSZAIZJLAM3BVDUNOFBLZV7AS5AVCNFSM6AAAAABOAALWK6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNBSGU4TCNRQG4. You are receiving this because you commented.Message ID: @.***>
I have a plugin with some dependencies, so I need to make a fat jar file(
plugin-0.0.0-all.jar
) withshadowJar
. However, therunServer
task doesn't uses the fat jar file but the original jar file(plugin-0.0.0.jar
) andNoClassDefFoundError
occurs.