Releases: GradleUp/shadow
Releases · GradleUp/shadow
5.2.0
With the release of Gradle 6.0, this will be the last release to support Gradle 5.x. The next version will be the major release 6.0 and will support at minimum Gradle 6.0 going forward.
Thank you for all the contributions for this release.
- Inez Korczyński - Performance optimization when evaluating relocation paths #507
- Jeff Adler - Fix remapping issues with multi release JARS #526
- Gary Hale - Implement support for Gradle build cache #524
- Roberto Perez Alcolea - Gradle 6.x support #517
- Konstantin Gribov - Return support for 5.0 for convention mapping #502
- Lai Jiang - Documentation updates on how to reconfigure
classifier
andversion
#512
5.1.0
- Chris Rankin - Add
ManifestAppenderTransformer
to support appending to Jar manifest #474 - Min-Ken Lai - Additional escaping fixes in start script #487
- Alan D. Cabrera - Automatically remove
gradleApi
fromcompile
scope in the presence ofshadow
#459 - Christian Stein - Do not initialize
UnusedTracker
when not requested #480, #479 - Attila Kelemen - Fix
NullPointerException
when using java minimization and api project dependency with version #477
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