Skip to content

Extract addIncludedDependencies#2116

Merged
Goooler merged 1 commit into
mainfrom
g/20260722/group-from-inputs
Jul 22, 2026
Merged

Extract addIncludedDependencies#2116
Goooler merged 1 commit into
mainfrom
g/20260722/group-from-inputs

Conversation

@Goooler

@Goooler Goooler commented Jul 22, 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 refactors ShadowJar.copy() by extracting the inline “include dependencies” logic into a dedicated private helper (addIncludedDependencies()), improving readability without changing behavior.

Changes:

  • Replace the inline dependency-inclusion loop in copy() with a call to addIncludedDependencies().
  • Introduce private fun addIncludedDependencies() containing the previously inlined logic (directory handling, non-existent files, AAR rejection, zipTree inclusion).

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

@Goooler
Goooler merged commit b309bc5 into main Jul 22, 2026
5 checks passed
@Goooler
Goooler deleted the g/20260722/group-from-inputs branch July 22, 2026 01:03
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