Releases: GradleUp/shadow
Releases · GradleUp/shadow
5.0.0
- Require Gradle 5.0+
- Fix issue with build classifier
-all
being dropped in Gradle 5.1+ - Roberto Perez Alcolea - Exclude project dependencies from minimization #420
- Matt King, Richard Marbach - Fix escaping in start script #453, #455
- Dennis Schumann - Fix Gradle 5.2 incompatibility with
ShadowJar.getMetaClass()
#456 - Brane F. Gračnar - Fix compatibility with
com.palantir.docker
#460
4.0.4
- When using
shadow
,application
, andmaven
plugins together, removeshadowDistZip
andshadowDistTar
from
configurations.archives
so they are not published or installed by default with theuploadArchives
orinstall
tasks. #347 - James Nelson - Fix
null
path when using Jar minimization and Gradle'sapi
configuration. #424, #425
4.0.3
- Mark Vieira - Don't leak plugin classes to Gradle's Spec cache #430
4.0.2
- Petar Petrov - Update to ASM 7.0-beta and jdependency 2.1.1 to support Java 11, #415
- Victor Tso - Ensure input streams are closed, #411
- Osip Fatkullin - Exclude
api
configuration from minimization, #405
4.0.1
- Breaking Change!
Transform.modifyOutputStream(ZipOutputStream os)
toTransform.modifyOutputStream(ZipOutputStream jos, boolean preserveFileTimestamps)
.
Typically breaking changes are reserved for major version releases, but this change was necessary forpreserverFileTimestamps
(introduced in v4.0.0) to work correctly
in the presence of transformers, #404 - Fix regression in support Java 10+ during relocation, #403
4.0.0
- Breaking Change! Restrict Plugin to Gradle 4.0+. Shadow major versions will align with Gradle major versions going forward.
- Breaking Change! For clarity purposes
com.github.johnrengelman.plugin-shadow
has been removed. If you intend to use this feature, you will need to declare your ownConfigureShadowRelocation
task. See section 2.9.2 of the User Guide - Sergey Tselovalnikov - Upgrade to ASM 6.2.1 to support Java 11
- Chris Cowan - Add support for
shadowJar.preserveFileTimestamps
property. See Jar.preserveFileTimestamps - Paul N. Baker - Add
Log4j2PluginsCacheFileTransformer
to process Log4j DAT files during merge. - Felipe Lima - Fix the long standing "No property
mainClassName
" issue. - debanne - Implement JAR minimization actions. This will attempt to exclude unused classes in your shadowed JAR.
- Configure exclusion of
module-info.class
fromshadowJar
when using the Shadow the Java plugin, #352
2.0.4
- Update to ASM 6.1.1 to address performance issues - https://gitlab.ow2.org/asm/asm/issues/317816
- Close InputStreams after using them Issue #364
- Remove usage of Gradle internal
AbstractFileCollection
. - Add task annotations to remove warnings when validating plugin.
2.0.3
- https://github.com/ttsiebzehntt - Update to ASM 6.1
- https://github.com/sgnewson - Fix deprecated Gradle warnings https://github.com/johnrengelman/shadow/pull/356
2.0.2
- Ben Adazza, Tyler Benson - documentation
- Marke Vieira - Support multi-project builds with Build-Scan integration
- Upgrade to ASM 6 Issue #294, Issue #303
- Rob Spieldenner - Fix integration with
application
plugin in Gradle 4.3 Issues #339 - Fixed deprecation warning from Gradle 4.2+ Issue #326
2.0.1
- Fix
null+configuration
error (Issue #297)