I'm trying to build a (fat) jar with gradle to the likes of what is being generated by eclipse when choosing export->runnable jar and the option Extract required libraries into generated.
Eclipse extracts all linked jars into the new jar. In ant this looks like this:
<zipfileset excludes="META-INF/*.SF" src="./lib/soot-trunk.jar"/>
How can I do the same thing with gradle?
In order to create a fat jar this plugin is used. You need to invoke a shadowJar
task.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With