Skip to content

Note disabling enableKotlinModuleRemapping in 9.5.0 changelog - #2218

Merged
Goooler merged 2 commits into
mainfrom
g/20260823/note-for-kt-meta-trans
Aug 23, 2026
Merged

Goooler merged 2 commits into
mainfrom
g/20260823/note-for-kt-meta-trans

Conversation

@Goooler

@Goooler Goooler commented Aug 23, 2026 •

Copy link
Copy Markdown
Member

Note

With the introduction of DuplicatesStrategy checking for transformers, you may see warnings like:

'META-INF/...kotlin_module' is matched by KotlinModuleMetadataTransformer but its DuplicatesStrategy is EXCLUDE — duplicates may be silently dropped before the transformer processes them.

If you do not need Kotlin module metadata remapping, you can disable it:

tasks.shadowJar {
  @Suppress("DEPRECATION") // This flag will be disabled and removed in the next major version of Shadow.
  enableKotlinModuleRemapping = false
}

Closes #2212.

@Goooler
Goooler requested a lite review from Copilot August 23, 2026 07:55
@Goooler Goooler changed the title Note disabling enableKotlinModuleRemapping in 9.5.0 changelog Note disabling enableKotlinModuleRemapping in 9.5.0 changelog Aug 23, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a 9.5.0 changelog note explaining Kotlin module remapping warnings and how to disable the deprecated behavior.

Changes:

  • Documents the DuplicatesStrategy warning.
  • Provides Kotlin DSL configuration to disable remapping.
  • Notes a minor documentation nit regarding the fully qualified transformer name.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread docs/changes/README.md Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@Goooler
Goooler merged commit 3040977 into main Aug 23, 2026
7 checks passed
@Goooler
Goooler deleted the g/20260823/note-for-kt-meta-trans branch August 23, 2026 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants