Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Append Kdoc for ShadowJar and minor cleanups #1368

Merged
merged 5 commits into from
Mar 25, 2025
Merged

Conversation

Goooler
Copy link
Member

@Goooler Goooler commented Mar 25, 2025

No description provided.

Goooler added 2 commits March 25, 2025 11:50

Verified

This commit was signed with the committer’s verified signature.
Goooler Zongle Wang

Verified

This commit was signed with the committer’s verified signature.
Goooler Zongle Wang
@Goooler Goooler requested a review from Copilot March 25, 2025 04:21
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.

Copilot wasn't able to review any files in this pull request.

Files not reviewed (3)
  • src/functionalTest/kotlin/com/github/jengelman/gradle/plugins/shadow/JavaPluginTest.kt: Language not supported
  • src/functionalTest/kotlin/com/github/jengelman/gradle/plugins/shadow/RelocationTest.kt: Language not supported
  • src/main/kotlin/com/github/jengelman/gradle/plugins/shadow/tasks/ShadowJar.kt: Language not supported

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

The pull request adds KDoc to the ShadowJar class and performs some minor cleanups. The added documentation enhances the readability and understandability of the code. The changes look good overall.

Summary of Findings

  • Missing KDoc for public methods: Some public methods in the ShadowJar class are missing KDoc. Adding KDoc to these methods would improve the overall documentation of the class. I was instructed not to add review comments for this issue due to the review settings.
  • Inconsistent default values documentation: The documentation for relocationPrefix property defaults to shadow while the actual default value is ShadowBasePlugin.SHADOW. This inconsistency should be fixed. I was instructed not to add review comments for this issue due to the review settings.
  • Redundant comments: Some comments are redundant and do not add any value to the code. These comments should be removed to improve the code's readability. I was instructed not to add review comments for this issue due to the review settings.

Merge Readiness

The pull request is almost ready for merging. The added KDoc improves the code's documentation. However, there are a few minor issues that should be addressed before merging. Specifically, the documentation for relocationPrefix property should be updated to reflect the actual default value. I am unable to approve this pull request, and recommend that others review and approve this code before merging.

Goooler added 2 commits March 25, 2025 12:44

Verified

This commit was signed with the committer’s verified signature.
Goooler Zongle Wang

Verified

This commit was signed with the committer’s verified signature.
Goooler Zongle Wang
@Goooler Goooler force-pushed the g/20250325/improve-tests branch from 7007a1d to f0dabe2 Compare March 25, 2025 04:45
@Goooler Goooler enabled auto-merge (squash) March 25, 2025 04:46

Verified

This commit was signed with the committer’s verified signature.
Goooler Zongle Wang
@Goooler Goooler merged commit b2a0ca4 into main Mar 25, 2025
7 checks passed
@Goooler Goooler deleted the g/20250325/improve-tests branch March 25, 2025 05:00
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.

None yet

1 participant