- (Breaking Change!) Fix leaking of
shadowJar.manifest
intojar.manifest
. (Issue #82)
To simplify behavior, theshadowJar.appendManifest
method has been removed. Replace uses withshadowJar.manifest
ShadowTask
now has aconfigurations
property that is resolved to the files in the resolved configuration before
being added to the copy spec. This allows for an easier implementation for filtering. The default 'shadowJar' task
has the convention of adding the'runtime'
scope to this list. Manually created instances ofShadowTask
have no
configurations added by default and can be configured by settingtask.configurations
.- Properly configure integration with the
'maven'
plugin when added. When adding'maven'
the'uploadShadow'
task
will now properly configure the POM dependencies by removing the'compile'
and'runtime'
configurations from the
POM and adding the'shadow'
configuration as aRUNTIME
scope in the POM. This behavior matches the behavior when
using the'maven-publish'
plugin. - Matt Hurne - Allow
ServiceFileTransformer
to specify include/exclude patterns for
files within the configured path to merge. - Matt Hurne - Added
GroovyExtensionModuleTransformer
for merging Groovy Extension module
descriptor files. The existingServiceFileTransformer
now excludes Groovy Extension Module descriptors by default. distShadowZip
anddistShadowZip
now contain the shadow library and run scripts instead of the default from the'application'
plugin (Issue #89)