Skip to content

Releases: GradleUp/shadow

9.5.1

Choose a tag to compare

@github-actions github-actions released this 06 Jul 10:51
c33612d

Fixed

  • Fix eager calls for toolchainSpec in Kotlin DSL. (#2087)

9.5.0

Choose a tag to compare

@github-actions github-actions released this 06 Jul 06:19
6e00cb7

Added

  • Check DuplicatesStrategy for merging transformers. (#2026)
    This will log warnings when an incompatible DuplicatesStrategy (e.g., EXCLUDE) is applied in Gradle configuration for built-in ResourceTransformers.
  • Add KotlinModuleMetadataTransformer. (#2073)
  • Add R8 as an opt-in minimize { r8 { ... } } tool for shrinking the final shadowed JAR. (#2077)

Changed

  • Bump min Gradle requirement to 9.2.0. (#2057)
  • Remove afterEvaluate when adding variants. (#2056)
  • Deprecate enableKotlinModuleRemapping for ShadowJar. (#2073)
    Apply KotlinModuleMetadataTransformer explicitly to support relocating inside Kotlin module metadata files.
  • Deprecate everything under ShadowCopyAction. (#2083)

Fixed

  • Fix the conflicts when using afterEvaluate with other plugins. (#2055)

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.