Creating uber / fat / shade-jar (and javadoc-jar) sources using Gradle

Does anyone know how to create a uber / fat / shade-jar (and javadoc-jar) source using Gradle?

The generated Jar should contain not only the sources of the current project, but also the sources of its dependencies. I looked, in particular, the vanilla way and the way to use Shadow Plugin . Both work great on creating a regular uber / fat / shade jar, but none of them seem to support a way to create a source jar.

+5
source share
1 answer

Use the Shadow Plugin . In Maven, this is called a shadow plugin. Same. It creates an executable uber jar!

0
source

All Articles