shadow
shadow copied to clipboard
Gradle plugin to create fat/uber JARs, apply file transforms, and relocate packages for applications and libraries. Gradle version of Maven's Shade plugin.
I'm using Jetty in a bundle, and Jetty derives it's version information from the META-INF/MANIFEST.MF, which is thrown away. Is there a way, other than manual, to selectively merge manifests?
Is it possible to use the Shadow plugin to create a _source code_ and maybe even a _javadoc_ jar that reflects the state after "merging"? I need to import ASM...
In [our build](https://github.com/projectnessie/nessie) we use the Shadow plugin, the "shadow jars" shall be the "primary" jars published via the Maven publication. To achieve that, until now, we changed the archive...
Please check the [User Guide](http://imperceptiblethoughts.com/shadow) before submitting "how do I do 'x'?" questions! ### Shadow Version `com.github.johnrengelman:shadow:8.1.1` ### Gradle Version ``` Gradle 8.2 JVM: 17.0.3 (Azul Systems, Inc. 17.0.3+7-LTS) ```...
Please check the [User Guide](http://imperceptiblethoughts.com/shadow) before submitting "how do I do 'x'?" questions! ### Shadow Version 7.1.2 ### Gradle Version 7.6 ### Expected Behavior Building Spring Boot Executable Jar using...
### Shadow Version Version 7.0.0 ### Gradle Version Version 7.2 ### Gradle Build Script(s) ```java jar { manifest { attributes( 'Bundle-Name': project.name, 'Bundle-Description': "...", 'Bundle-SymbolicName': '...', ) } enabled =...
The following line should call `relocateClass` with just the file name, like in the if-statement above and take care of the `META-INF/services` prefix itself. The `relocateClass` method shouldn't have to...
### Shadow Version Latest ### Gradle Version Latest ### Expected Behavior In the maven-shade-plugin, we could include and exclude the files in dependencies with regex. Can I do that with...
Please have a look, added a test (which should fail with 8.1.1) and a fix on CleanProperties. Removing the timestamp which default Properties class is adding could be tricky. I...
### Shadow Version 8.1.1 ### Gradle Version 8.1 ### Expected Behavior The task should complete successfully with no errors ### Actual Behavior `shadowJar` task fails with this error: https://paste.srnyx.xyz/pukukumari.txt ###...