Skip to content

Conversation

Goooler
Copy link
Member

@Goooler Goooler commented Sep 20, 2025


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

…cation-plugin

# Conflicts:
#	src/functionalTest/kotlin/com/github/jengelman/gradle/plugins/shadow/JavaPluginsTest.kt
@Goooler Goooler force-pushed the g/20250920/test-application-plugin branch from 2f99c52 to 45c27db Compare September 21, 2025 06:37
@Goooler Goooler marked this pull request as ready for review September 21, 2025 06:37
@Goooler Goooler force-pushed the g/20250920/test-application-plugin branch from 45c27db to 49b9011 Compare September 21, 2025 06:47
@Goooler Goooler requested a review from Copilot September 21, 2025 07:02
Copy link
Contributor

@Copilot 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 pull request enhances the Shadow plugin's test coverage and public API by adding more task accessors and comprehensive property validation. The changes improve testing robustness by verifying task properties and dependencies more thoroughly, while also expanding the plugin's public API with additional convenience accessors.

  • Add comprehensive property validation for shadow tasks in application plugin scenarios
  • Introduce new task accessors for better developer experience with the Shadow plugin API
  • Improve test reliability by using proper task dependency checking methods

Reviewed Changes

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

File Description
src/test/kotlin/com/github/jengelman/gradle/plugins/shadow/ShadowPropertiesTest.kt Enhanced test coverage with new application plugin test and improved property validation
src/main/kotlin/com/github/jengelman/gradle/plugins/shadow/ShadowApplicationPlugin.kt Added new task and distribution accessors for improved API usability
docs/changes/README.md Updated changelog to document the new task accessors feature
api/shadow.api Updated API dump to reflect new public accessors

@Goooler Goooler requested a review from Copilot September 21, 2025 07:15
Copilot

This comment was marked as outdated.

@Goooler Goooler enabled auto-merge (squash) September 21, 2025 07:21
@Goooler Goooler merged commit 90cfaa6 into main Sep 21, 2025
10 checks passed
@Goooler Goooler deleted the g/20250920/test-application-plugin branch September 21, 2025 07:30
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.

1 participant