Version 0.8 of the Shadow plugin is available. This update is now available in JCenter.
This update contains a number of major updates a few breaking changes:
- Changed package name to be consistent with other plugins 2) Changed name of ‘shadow’ task to be ‘shadowJar’ to avoid conflicting with the plugin extension. 3) Changed default output location to be in build/distributions instead of build/lib 4) Added support for class relocation thanks to Baron Roberts.
Check the release notes for complete details.
Shadow is a Groovy/Gradle port of the Apache Shade plugin for Maven. It generates an output jar containing your application’s code along with classes from dependencies.
Source Code: https://github.com/johnrengelman/shadow/