Shadow
A Gradle plugin for creating fat/uber JARs, transforming files, relocating packages, and optimizing applications with R8/ProGuard. The Gradle counterpart to Maven's Shade plugin.
[!NOTE]
Previously this plugin was developed by @johnrengelman and published under the IDcom.github.johnrengelman.shadowbefore 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.shadowand update to the latest version to receive all the latest bug fixes and improvements.
Documentation
Compatibility Matrix
| Shadow Version | Min Gradle Version | Min Java Version | Plugin ID |
|---|---|---|---|
| 8.0.0+ | 8.0 | 8 | com.github.johnrengelman.shadow |
| 8.3.0+ | 8.3 | 8 | com.gradleup.shadow |
| 9.0.0+ | 8.11 | 11 | com.gradleup.shadow |
| 9.2.0+ | 8.11 | 17 | com.gradleup.shadow |
| 9.3.0+ | 9.0 | 17 | com.gradleup.shadow |
| 9.5.0+ | 9.2 | 17 | com.gradleup.shadow |
| 9.7.0+ | 9.4 | 17 | com.gradleup.shadow |