Fetching the required libraries into the created Jar using Gradle

I am trying to create a (bold) jar with gradle for something like that created by eclipse when choosing export-> runnable jar and the option Extract required libraries to generated ones.

Eclipse retrieves all associated banks in a new bank. In ant, it looks like this:

<zipfileset excludes="META-INF/*.SF" src="./lib/soot-trunk.jar"/>

How can i do the same with gradle?

+4
source share
1 answer

To create a bold banner that uses the plugin. You need to call a task shadowJar.

+1
source

Source: https://habr.com/ru/post/1598818/


All Articles