Skip to content

Releases: GradleUp/shadow

1.2.2

17 Jul 18:27
Compare
Choose a tag to compare

1.2.1

23 Jan 15:02
Compare
Choose a tag to compare
  • Apply package relocations to dependency resources (Issue #114)

1.2.0

24 Nov 13:16
Compare
Choose a tag to compare
  • Re-organize some code to remove need for forcing the Gradle API ClassLoader to allow the org.apache.tools.zip package.
  • Upgrade JDOM library from 1.1 to 2.0.5 (change dependency from jdom:jdom:1.1 to org.jdom:jdom2:2.0.5) (Issue #98)
  • Convert ShadowJar.groovy to ShadowJar.java to workaround binary incompatibility introduced by Gradle 2.2 (Issue #106)
  • Updated ASM library to 5.0.3 to support JDK8 (Issue #97)
  • Allows for regex pattern matching in the dependency string when including/excluding (Issue #83)
  • Apply package relocations to resource files (Issue #93)

1.1.2

09 Sep 03:37
Compare
Choose a tag to compare
  • fix bug in runShadow where dependencies from the shadow configuration are not available (Issue #94)

1.1.1

27 Aug 15:50
Compare
Choose a tag to compare
  • Fix bug in 'createStartScripts' task that was causing it to not execute 'shadowJar' task (Issue #90)
  • Do not include null in ShadowJar Manifest 'Class-Path' value when jar task does not specify a value for it. (Issue #92)
  • ShadowJar Manifest 'Class-Path' should reference jars from 'shadow' config as relative to location of shadowJar output (Issue #91)

1.1.0

26 Aug 17:41
Compare
Choose a tag to compare
  • (Breaking Change!) Fix leaking of shadowJar.manifest into jar.manifest. (Issue #82)
    To simplify behavior, the shadowJar.appendManifest method has been removed. Replace uses with shadowJar.manifest
  • ShadowTask now has a configurations 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 of ShadowTask have no
    configurations added by default and can be configured by setting task.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 a RUNTIME 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 existing ServiceFileTransformer now excludes Groovy Extension Module descriptors by default.
  • distShadowZip and distShadowZip now contain the shadow library and run scripts instead of the default from the 'application' plugin (Issue #89)

1.0.3

29 Jul 21:00
Compare
Choose a tag to compare
  • Make service files root path configurable for ServiceFileTransformer (Issue #72)
  • Andres Almiray - Added PropertiesFileTransformer (Issue #73)
  • Brandon Kearby - Fixed StackOverflow when a cycle occurs in the resolved dependency graph (Issue #69)
  • Apply Transformers to project resources (Issue #70, Issue #71)
  • Do not drop non-class files from dependencies when relocation is enabled. Thanks to Minecrell for digging into this. (Issue #61)
  • Remove support for applying individual sub-plugins by Id (easier maintenance and cleaner presentation in Gradle Portal)

1.0.2

07 Jul 13:54
Compare
Choose a tag to compare
  • Do not add an empty Class-Path attribute to the manifest when the shadow configuration contains no dependencies.
  • runShadow now registers shadowJar as an input. Previously, runShadow did not execute shadowJar and an error occurred.
  • Support Gradle 2.0 (Issue #66)
  • Do not override existing 'Class-Path' Manifest attribute settings from Jar configuration. Instead combine. (Issue #65)

1.0.1

28 Jun 13:09
Compare
Choose a tag to compare
  • Fix issue where non-class files are dropped when using relocation (Issue #58)
  • Do not create a / directory inside the output jar.
  • Fix runShadow task to evaluate the shadowJar.archiveFile property at execution time. (Issue #60)

1.0.0

27 Jun 19:41
Compare
Choose a tag to compare
  • Previously known as v0.9.0
  • All changes from 0.9.0-M1 to 0.9.0-M5
  • Properly configure the ShadowJar task inputs to observe the include/excludes from the dependencies block. This
    allows UP-TO-DATE checking to work properly when changing the dependencies rules (Issue #54)
  • Apply relocation remappings to classes and imports in source project (Issue #55)
  • Do not create directories in jar for source of remapped class, created directories in jar for destination of remapped classes (Issue #53)