I'm having some issue with creating a fat jar, I'v...
# random
e
I'm having some issue with creating a fat jar, I've been laways using the shadow plugin, until few days ago never had problems. But now when I use the fat jar in another project, one of its dependency seems to be old and missing some newer methods (I get
NoSuchMethod
exc on some last methods I just wrote). Double checked this dependency commit (because I'm including it with jitpack) and everything looks ok. I also tried to create the fat jar manually in intellij, nothing. Has anyone ever encountered something similar?
k
Check out the application plugin, I think it can also build a fat jar and I've hd a lot less problems with it in the past.
e
ok, added, what is the right task,
application/run
?
k
No, that actually runs your main method. I'll see if I can find it.
Hmm
distZip
might work, I'm sure actually. Maybe I'm mixing things up.
e
it seems like
application
doesnt build fat-jars, https://stackoverflow.com/a/21743527/1047713
k
I'm sorry for wasting you time then ☺️
What do you need a fat jar for?