Skip to content

Deprecate enableKotlinModuleRemapping for ShadowJar#2073

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

Deprecate enableKotlinModuleRemapping for ShadowJar#2073
Goooler wants to merge 1 commit 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 3 times, most recently from bed3643 to bdafc4c Compare July 1, 2026 01:20
@Goooler Goooler force-pushed the g/20260629/deprecate-enable-kotlin-module-remapping branch from bdafc4c to c06dd40 Compare July 2, 2026 01:47
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