Skip to content

Refine deprecations#2072

Merged
Goooler merged 1 commit into
mainfrom
g/20260629/deprecations
Jun 29, 2026
Merged

Refine deprecations#2072
Goooler merged 1 commit into
mainfrom
g/20260629/deprecations

Conversation

@Goooler

@Goooler Goooler commented Jun 29, 2026

Copy link
Copy Markdown
Member

No description provided.

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

This PR refines deprecation annotations/messages across Shadow’s Kotlin APIs to better guide consumers toward replacements and to clarify the planned removal target (Shadow 10).

Changes:

  • Improved deprecation messages (and in some cases added ReplaceWith) to point to recommended APIs and Shadow 10 removal.
  • Deprecated InheritManifest.inheritFrom(..) overloads more explicitly and added suppressions where needed for overrides.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
src/main/kotlin/com/github/jengelman/gradle/plugins/shadow/transformers/PreserveFirstFoundResourceTransformer.kt Refines deprecation metadata for the resources property.
src/main/kotlin/com/github/jengelman/gradle/plugins/shadow/tasks/ShadowCopyAction.kt Clarifies constructor deprecation messaging and Shadow 10 timeline.
src/main/kotlin/com/github/jengelman/gradle/plugins/shadow/tasks/InheritManifest.kt Updates deprecation messages and adds deprecation to the inheritFrom(.., action) overload.
src/main/kotlin/com/github/jengelman/gradle/plugins/shadow/internal/DefaultInheritManifest.kt Adds suppression for overriding newly-deprecated API.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Goooler Goooler enabled auto-merge (squash) June 29, 2026 01:34
@Goooler Goooler merged commit 151e9a1 into main Jun 29, 2026
7 checks passed
@Goooler Goooler deleted the g/20260629/deprecations branch June 29, 2026 01:42
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