Skip to content

Releases: GradleUp/shadow

9.4.3

Choose a tag to compare

@github-actions github-actions released this 26 Jun 03:01
44c6ce1

Changed

  • Update dependencies for resolving CVEs. (#2069)

9.4.2

Choose a tag to compare

@github-actions github-actions released this 28 May 04:03
29c432a

Changed

  • Update jdependency to support Java 27. (#2033)

8.3.11

Choose a tag to compare

@github-actions github-actions released this 28 May 06:06
1aa766c

Warning

Only Gradle 9 support is being backported to this version. No additional features or crucial bug fixes will be included in the 8.x line. Please migrate to Shadow 9 as soon as possible.

Changed

  • Update jdependency to support Java 27. (#2040)

Deprecated

  • Deprecate KnowsTask, it will be removed in the next major release. (#1957)

Fixed

  • Fix compatibility with Isolated Projects. (#1947)
  • Fix interaction with Gradle artifact transforms. (#1949)
  • Fix Log4j2PluginsCacheFileTransformer not working for merging Log4j2Plugins.dat files. (#1955)

9.4.1

Choose a tag to compare

@github-actions github-actions released this 27 Mar 09:08
f98d8f2

Changed

  • Update Kotlin to 2.3.20. (#1978)

9.4.0

Choose a tag to compare

@github-actions github-actions released this 15 Mar 02:04
e51f3e7

Added

  • Support Isolated Projects. (#1139)

Changed

  • Allow opting out of adding shadowJar into assemble lifecycle. (#1939)
    shadow {
      // Disable making `assemble` task depend on `shadowJar`. This is enabled by default.
      addShadowJarToAssembleLifecycle = false
    }
  • Stop catching ZipException when writing entries. (#1970)

Fixed

  • Fix interaction with Gradle artifact transforms. (#1345)
  • Fix skipStringConstants per-relocator behavior in mapName. (#1968)
  • Fix failing for non-existent class directories. (#1976)

9.3.2

Choose a tag to compare

@Goooler Goooler released this 27 Feb 12:21
929f027

Changed

  • Stop moving gradleApi dependency from api to compileOnly for Gradle 9.4+. (#1919)
  • Log warnings for duplicates in the final JAR. (#1931)

Fixed

  • Fix relocation patterns not included in task fingerprint. (#1933)

8.3.10

Choose a tag to compare

@github-actions github-actions released this 26 Feb 06:37
01e4009

Warning

Only Gradle 9 support is being backported to this version. No additional features or crucial bug fixes will be included in the 8.x line. Please migrate to Shadow 9 as soon as possible.

Changed

  • Stop using start script templates bundled in Shadow. (#1750)
  • Update ASM and jdependency to support Java 26. (#1810)

Fixed

  • Fix resolving BOM dependencies when minimize is enabled. (#1638)
  • Use ASM from jdependency embedded. (#1898)
    This fixes potential classpath conflicts when using Shadow with other plugins that also use ASM.

9.3.1

Choose a tag to compare

@github-actions github-actions released this 06 Jan 06:01
312d8f9

Fixed

  • Use ASM from jdependency embedded. (#1898)
    This fixes potential classpath conflicts when using Shadow with other plugins that also use ASM.

9.3.0

Choose a tag to compare

@Goooler Goooler released this 05 Dec 15:55
9.3.0
bfc351e

Added

  • Add PatternFilterableResourceTransformer to simplify pattern based ResourceTransformers. (#1849)
  • Expose patternSet of ServiceFileTransformer as public. (#1849)
  • Expose patternSet of ApacheLicenseResourceTransformer as public. (#1850)
  • Expose patternSet of ApacheNoticeResourceTransformer as public. (#1850)
  • Expose patternSet of PreserveFirstFoundResourceTransformer as public. (#1855)
  • Support overriding output path of ApacheNoticeResourceTransformer. (#1851)
  • Add new merge strategy Fail to PropertiesFileTransformer. (#1856)
  • Add FindResourceInClasspath task to help with debugging issues with merged duplicate resources. (#1860)
  • Add MergeLicenseResourceTransformer. (#1858)
  • Add DeduplicatingResourceTransformer to deduplicate on path and content. (#1859)
  • Support disabling Kotlin module metadata remapping. (#1875)
    tasks.shadowJar {
      // Disable remapping of Kotlin module metadata (`.kotlin_module`) files. This is enabled by default.
      enableKotlinModuleRemapping = false
    }

Changed

  • Change the group of startShadowScripts from application to other. (#1797)
  • Update ASM and jdependency to support Java 26. (#1799)
  • Bump min Gradle requirement to 9.0.0. (#1801)
  • Deprecate PreserveFirstFoundResourceTransformer.resources. (#1855)
  • Make the output of PropertiesFileTransformer reproducible. (#1861)
  • Deprecate ShadowCopyAction. (#1876)
    It should not be used as a public API. Will be made internal in a future release.

Fixed

  • Fix Develocity integration when Isolated Projects enabled. (#1836)

9.2.2

Choose a tag to compare

@github-actions github-actions released this 26 Sep 09:29
1245cda

Fixed

  • Fix the regression of registering ShadowJar tasks without ShadowPlugin applied. (#1787)