Releases: GradleUp/shadow
Releases · GradleUp/shadow
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)
2.0.0
- Breaking Change! Restrict Plugin to Gradle 3.0+
- Breaking Change! Build with Java 7
- Breaking Change! Updated
Transformer
interface to acceptTransformerContext
object instead of individual values - Breaking Change! Updated
Relocator
interface to acceptRelocatePathContext
andRelocateClassContext
objects - Breaking Change! Distribution tasks
distShadowZip
anddistShadowTar
have been removed and replaced with the standardshadowDistZip
andshadowDistTar
from the Gradle Distribution plugin. - Breaking Change! The
installShadowApp
task has been removed and replaced with the standardinstallShadowDist
task from the Gradle Distribution plugin. - Breaking Change! The new
installShadowDist
task outputs tobuild/install/<project name>-shadow
per the standard (formerly wasbuild/installShadow
) - Breaking Change!
component.shadow
removed in favor ofproject.shadow.component(publication)
so as to remove dependency on internal Gradle APIs. - NEW Introducing
ConfigureShadowRelocation
task andcom.github.johnrengelman.plugin-shadow
plugin to automatically configure package relocation for Gradle plugins. - NEW Integration with Gradle Build Scans. When running a
ShadowJar
task with Build Scans, custom values including dependencies merged anc package relocations are published in the scan. - Build Shadow w/ Shadow. This will help prevent any future classpath conflicts with Gradle.
- Replace
startShadowScripts
tasks with Gradle's built-inCreateStartScripts
type. - Build with Gradle 3.1
- Marc Philipp - Add
keyTransformer
property toPropertiesFileTransformer
- Update to ASM 5.2
- Piotr Kubowicz - Support
api
,implementation
,runtimeOnly
dependency configurations introdcued in Gradle 3.3