Skip to content

Conversation

@Goooler
Copy link
Member

@Goooler Goooler commented Aug 1, 2025


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

@Goooler Goooler force-pushed the g/20250801/remove-shadow-spec branch from 7a1b47e to 0fe7634 Compare August 1, 2025 03:15

This comment was marked as outdated.

@Goooler Goooler requested a review from Copilot August 1, 2025 04:16
Copy link
Contributor

Copilot AI left a comment

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 removes the ShadowSpec interface and reduces method overloads in the Shadow Gradle plugin by consolidating the API into the ShadowJar class directly. The refactoring simplifies the codebase by eliminating the interface abstraction layer while maintaining the same functionality through default parameters and @JvmOverloads annotation.

  • Removes the ShadowSpec interface entirely
  • Converts multiple method overloads into single methods with default parameters using @JvmOverloads
  • Updates API signatures to reflect the consolidated approach

Reviewed Changes

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

File Description
ShadowSpec.kt Removes the entire interface file containing method definitions for shadow operations
ShadowJar.kt Consolidates methods from ShadowSpec into ShadowJar with default parameters and @jvmoverloads
README.md Documents the breaking change in the changelog
shadow.api Updates API signatures to reflect removal of ShadowSpec interface and new method signatures

@Goooler Goooler enabled auto-merge (squash) August 1, 2025 06:26
@Goooler Goooler merged commit a963b0a into main Aug 1, 2025
13 checks passed
@Goooler Goooler deleted the g/20250801/remove-shadow-spec branch August 1, 2025 06:35
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