Skip to content

Deprecate enableKotlinModuleRemapping for ShadowJar#2073

Open
Goooler wants to merge 8 commits into
mainfrom
g/20260629/deprecate-enable-kotlin-module-remapping
Open

Deprecate enableKotlinModuleRemapping for ShadowJar#2073
Goooler wants to merge 8 commits into
mainfrom
g/20260629/deprecate-enable-kotlin-module-remapping

Conversation

@Goooler

@Goooler Goooler commented Jun 29, 2026

Copy link
Copy Markdown
Member

Closes #2066.


  • CHANGELOG's "Unreleased" section has been updated, if applicable.

This comment was marked as outdated.

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

Copilot reviewed 9 out of 9 changed files in this pull request and generated 3 comments.

Comment thread docs/changes/README.md Outdated
newBytes.contentEquals(bytes) -> context.path
// Content changed but path didn't, so rename to avoid name clash. The filename does not
// matter to the compiler.
else -> context.path.replace(".kotlin_module", ".shadow.kotlin_module")
Comment on lines +177 to +184
@Deprecated(
"Use `KotlinModuleMetadataTransformer` explicitly instead. This will be removed in Shadow 10.",
replaceWith =
ReplaceWith(
"transform(KotlinModuleMetadataTransformer::class.java)",
"com.github.jengelman.gradle.plugins.shadow.transformers.KotlinModuleMetadataTransformer",
),
)
@Goooler Goooler force-pushed the g/20260629/deprecate-enable-kotlin-module-remapping branch from a2202f5 to 18334f2 Compare June 29, 2026 03:46
@Goooler Goooler force-pushed the g/20260629/deprecate-enable-kotlin-module-remapping branch from 18334f2 to bed3643 Compare June 29, 2026 03:50
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.

Consider deprecating enableKotlinModuleRemapping flag

2 participants