/shadow

Gradle plugin to create fat/uber JARs, apply file transforms, and relocate packages for applications and libraries. Gradle version of Maven's Shade plugin.

Primary LanguageGroovyApache License 2.0Apache-2.0

Gradle Shadow

Gradle plugin for creating fat/uber JARs with support for package relocation.

Note

Previously this plugin was developed by @johnrengelman and published under the ID com.github.johnrengelman.shadow before maintenance was transferred to the GradleUp organization to ensure future development, see #908.

If you are still using the old plugin ID in your build script, we recommend to switch to the new plugin ID com.gradleup.shadow and update to the latest version to receive all the latest bug fixes and improvements.

Documentation

Read the User Guide!

Current Status

Maven Central Sonatype Nexus (Snapshots) Plugin Portal CI License

Latest Test Compatibility

Gradle Version Shadow Version
5.x 5.2.0 - 6.0.0
6.x 5.2.0 - 6.1.0
7.x 7.0.0+
8.0 - 8.2.x 8.0.0 - 8.1.1
8.3+ 8.3.0+

NOTE: Shadow v5.+ is compatible with Gradle 5.x - 6.x and Java 7 - 15 only, v6.1.0+ requires Java 8+.