Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 31, 2025

This PR contains the following updates:

Package Change Age Confidence
com.gradleup.shadow 9.0.2 -> 9.2.2 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

GradleUp/shadow (com.gradleup.shadow)

v9.2.2

Compare Source

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

v9.2.1

Compare Source

Added
  • Support relocating Groovy extensions in Module descriptors. (#​1705)
  • Add extensions for Iterable<Relocator>. (#​1710)
  • Support relocating list of types in RelocatorRemapper. (#​1714)
  • Add mainClass property into ShadowJar. (#​1722)
    tasks.shadowJar {
      // This property will be used as a fallback if there is no explicit `Main-Class` attribute set.
      mainClass = "my.Main"
    }
  • Honor executableDir and applicationName in application extension. (#​1740)
    This is useful when you want to customize the output directory of the start scripts and the application distribution.
  • Provide more task accessors in ShadowApplicationPlugin.Companion. (#​1771)
  • Support relocating Kotlin module files. (#​1539)
    The current implementation relocates all properties in KotlinModuleMetadata but KmModule.optionalAnnotationClasses
    due to very limited usage of it. See more discussion here.
  • Allow overriding BUNDLING_ATTRIBUTE in GMM. (#​1773)
    The org.gradle.dependency.bundling in shadowed JAR's Gradle Module Metadata is set to shadowed by default.
    You can override it for now by:
    shadow {
      bundlingAttribute = Bundling.EMBEDDED
    }
Changed
  • Merge Gradle Module descriptors into the modern META-INF path. (#​1706)
    The Gradle Module descriptors (org.codehaus.groovy.runtime.ExtensionModule files) defined under META-INF/services/
    and META-INF/groovy will be merged into META-INF/groovy/org.codehaus.groovy.runtime.ExtensionModule.
  • Move injecting Class-Path manifest attr logic from doFirst into copy. (#​1720)
  • Move injecting Main-Class manifest attr logic from doFirst into copy. (#​1724)
  • Deprecate InheritManifest and inheritFrom. (#​1722)
    tasks.shadowJar {
      // Before (deprecated):
      manifest.inheritFrom(tasks.jar.get().manifest)
      // After (recommended):
      manifest.from(tasks.jar.get().manifest)
    
      // Note: You don't need to inherit the manifest from `jar` task as it's done by default for the `shadowJar` task.
      // But if you want to inherit the manifest for your custom `ShadowJar` task, you still need to do it explicitly.
    }
  • Use default JavaExec error message when main class is not set. (#​1725)
  • Update RelocatorRemapper class pattern to cover more Java method descriptors. (#​1731)
  • Stop using start script templates bundled in Shadow. (#​1738)
  • Bump min Java requirement to 17. (#​1744)
  • Require most optional properties non-null. (#​1745)
  • Make assemble depend on shadowJar even if it is added later. (#​1766)
Fixed
  • Fix excluding dependencies whose versions contain +. (#​1597)

v9.2.0

Compare Source

v9.1.0

Compare Source

Added
  • Allow opting out of shadowRuntimeElements variant. (#​1662)
    shadow {
      // Disable publishing `shadowRuntimeElements` as an optional variant of the `java` component.
      addShadowVariantIntoJavaComponent = false
    }
    
    // configuration must be done in the `afterEvaluate` phase, you cannot access `shadowRuntimeElements` before that.
    val javaComponent = components["java"] as AdhocComponentWithVariants
    javaComponent.withVariantsFromConfiguration(configurations["shadowRuntimeElements"]) {
      // See more details in https://github.com/GradleUp/shadow/pull/1662.
      skip()
    }
  • Allow opting out of TARGET_JVM_VERSION_ATTRIBUTE. (#​1674)
    shadow {
      // Disable adding `TargetJvmVersion` attribute into the Gradle Module Metadata of the shadowed jar.
      addTargetJvmVersionAttribute = false
    }
  • Allow opting out of Multi-Release attribute. (#​1675)
    tasks.shadowJar {
      // Disable adding `Multi-Release` attribute into the manifest of the shadowed jar.
      addMultiReleaseAttribute = false
    }
Changed
  • Don't inject TargetJvmVersion attribute when automatic JVM targeting is disabled. (#​1666)
  • Do not write modified class files for no-op relocations. (#​1694)
  • BREAKING CHANGE: The introduction of some afterEvaluate usages may cause configuration issues in rare cases.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependency label Aug 31, 2025
@renovate renovate bot force-pushed the renovate/com.gradleup.shadow-9.x branch from 85e77df to 851f21a Compare September 24, 2025 08:49
@renovate renovate bot changed the title chore(deps): update plugin shadow to v9.1.0 chore(deps): update plugin shadow to v9.2.1 Sep 24, 2025
@renovate renovate bot changed the title chore(deps): update plugin shadow to v9.2.1 chore(deps): update plugin shadow to v9.2.2 Sep 26, 2025
@renovate renovate bot force-pushed the renovate/com.gradleup.shadow-9.x branch from 851f21a to 360b059 Compare September 26, 2025 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants