Gradle plugin to create fat/uber JARs, apply file transforms, and relocate packages for applications and libraries. Gradle version of Maven's Shade plugin.
ManifestAppenderTransformer
to support appending to Jar manifest #474
gradleApi
from compile
scope in the presence of shadow
#459
UnusedTracker
when not requested #480, #479
NullPointerException
when using java minimization and api project dependency with version #477
-all
being dropped in Gradle 5.1+ShadowJar.getMetaClass()
#456
com.palantir.docker
#460
shadow
, application
, and maven
plugins together, remove shadowDistZip
and shadowDistTar
from
configurations.archives
so they are not published or installed by default with the uploadArchives
or install
tasks. #347
null
path when using Jar minimization and Gradle's api
configuration. #424, #425
api
configuration from minimization, #405
Transform.modifyOutputStream(ZipOutputStream os)
to Transform.modifyOutputStream(ZipOutputStream jos, boolean preserveFileTimestamps)
.
Typically breaking changes are reserved for major version releases, but this change was necessary for preserverFileTimestamps
(introduced in v4.0.0) to work correctly
in the presence of transformers, #404
com.github.johnrengelman.plugin-shadow
has been removed. If you intend to use this feature, you will need to declare your own ConfigureShadowRelocation
task. See section 2.9.2 of the User GuideshadowJar.preserveFileTimestamps
property. See Jar.preserveFileTimestamps
Log4j2PluginsCacheFileTransformer
to process Log4j DAT files during merge.mainClassName
" issue.module-info.class
from shadowJar
when using the Shadow the Java plugin, #352
AbstractFileCollection
.application
plugin in Gradle 4.3 Issues #339