Skip to content

Support relocating Groovy extensions in Module descriptors - #1705

Merged
Goooler merged 6 commits into
mainfrom
g/20250831/relocate-groovy-extensions
Sep 2, 2025
Merged

Support relocating Groovy extensions in Module descriptors#1705
Goooler merged 6 commits into
mainfrom
g/20250831/relocate-groovy-extensions

Conversation

@Goooler

@Goooler Goooler commented Aug 31, 2025

Copy link
Copy Markdown
Member

Closes #467.


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

@Goooler Goooler changed the title Support relocating extensionClasses in Module descriptors Support relocating Groovy extensions in Module descriptors Aug 31, 2025
@Goooler
Goooler force-pushed the g/20250831/relocate-groovy-extensions branch 4 times, most recently from fc1dd39 to 3584b84 Compare September 1, 2025 07:10
@Goooler
Goooler force-pushed the g/20250831/relocate-groovy-extensions branch from 3584b84 to 431bc63 Compare September 1, 2025 07:49
@Goooler Goooler closed this Sep 2, 2025
@Goooler
Goooler deleted the g/20250831/relocate-groovy-extensions branch September 2, 2025 04:38
@Goooler
Goooler restored the g/20250831/relocate-groovy-extensions branch September 2, 2025 04:38
@Goooler Goooler reopened this Sep 2, 2025
@Goooler
Goooler force-pushed the g/20250831/relocate-groovy-extensions branch 2 times, most recently from a29bb16 to 810d848 Compare September 2, 2025 09:47
@Goooler
Goooler force-pushed the g/20250831/relocate-groovy-extensions branch from 8425268 to ade566f Compare September 2, 2025 10:00
@Goooler
Goooler requested a review from Copilot September 2, 2025 10:35
@Goooler
Goooler marked this pull request as ready for review September 2, 2025 10:35

This comment was marked as outdated.

@Goooler
Goooler requested a review from Copilot September 2, 2025 10:37

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 adds support for relocating Groovy extension class names within Module descriptors when using the shadow plugin. The change ensures that when packages are relocated during shadowing, the Groovy extension module descriptors are updated to reflect the new relocated class names.

Key changes:

  • Modified the GroovyExtensionModuleTransformer to apply class relocation to extension class names
  • Added comprehensive test coverage for the relocation functionality
  • Updated changelog to document the new feature

Reviewed Changes

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

File Description
GroovyExtensionModuleTransformer.kt Implements class name relocation for Groovy extension classes in module descriptors
GroovyExtensionModuleTransformerTest.kt Adds test coverage for relocation functionality and refactors existing test helper
README.md Documents the new feature in the changelog

@Goooler
Goooler enabled auto-merge (squash) September 2, 2025 10:41
@Goooler
Goooler merged commit 2ac0f1d into main Sep 2, 2025
10 checks passed
@Goooler
Goooler deleted the g/20250831/relocate-groovy-extensions branch September 2, 2025 10:45
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.

Relocated Groovy extensions are not working

2 participants