Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Oct 20, 2025

This PR contains the following updates:

Package Change Age Confidence
com.gradleup.shadow:shadow-gradle-plugin 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:shadow-gradle-plugin)

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 - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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 Renovate label Oct 20, 2025
@renovate renovate bot requested a review from a team as a code owner October 20, 2025 02:01
@renovate renovate bot added the Renovate label Oct 20, 2025
@renovate renovate bot enabled auto-merge (squash) October 20, 2025 02:01
@renovate renovate bot force-pushed the renovate/shadow branch 2 times, most recently from 6f88afb to d7cd4d0 Compare October 24, 2025 16:52
@renovate renovate bot force-pushed the renovate/shadow branch from d7cd4d0 to 3ccd74b Compare November 11, 2025 00:37
@renovate renovate bot merged commit 0ce8c14 into main Nov 11, 2025
11 checks passed
@renovate renovate bot deleted the renovate/shadow branch November 11, 2025 00:49
Xorgon added a commit to Xorgon/FastAsyncWorldEdit that referenced this pull request Nov 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant