Releases: GradleUp/shadow
Releases · GradleUp/shadow
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: Closes #297 - uses compileClasspath configuration to apply shadow res…
- 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
1.2.4
- Don't resolve dependency configurations during config phase (Issue #128)
- Build plugin with Gradle 2.14
- Fix docs regarding inheriting Jar manifest (Issue #251)
- https://github.com/ethankhall[Ethan Hall] - Support projects that configure uploading to Ivy repositories (Pull Request #256)
- Force task to depend on dependency configuration (Issue #152)
- Do not explode ZIP files into shadow jar (Issue #196)
- John Szakmeister - Preserve timestamps on merged jar entries (Pull Request #260)
1.2.3
- Support for Gradle 2.11-rc-1 (Issue #177)
- Convert internal framework to Gradle TestKit
- Fedor Korotkov - Use BufferedOutputStream when writing the Zip file (PR #171)
- Haw-Bin Chai - Quote Jar path in Windows start script as it may contain spaces (PR #170)
- Serban Iordache - Evaluate relocation specs when merging service descriptors (PR #165)
1.2.2
- Minecrell Gradle 2.5 compatibility (Issue #147)
1.2.1
- Apply package relocations to dependency resources (Issue #114)