Skip to content

feat: create add configuration recipe#108

Merged
vpa1977 merged 1 commit intocanonical:mainfrom
vpa1977:add_configuration_recipe
Mar 23, 2026
Merged

feat: create add configuration recipe#108
vpa1977 merged 1 commit intocanonical:mainfrom
vpa1977:add_configuration_recipe

Conversation

@vpa1977
Copy link
Copy Markdown
Contributor

@vpa1977 vpa1977 commented Mar 23, 2026

This PR adds openrewrite recipe to apply configuration block to the shadow project (Gradle).

It parses the configuration snippet, using gradle or kotlin dsl parser.
It reads build.gradle/build.gradle.kts and replaces the named top level entities (method calls, assignments, etc.) with the ones found in the configuration snippet.
If the configuration entities are not found, they are appended to the build file.

@vpa1977 vpa1977 force-pushed the add_configuration_recipe branch from 5a09600 to d8b1fb3 Compare March 23, 2026 07:27
@vpa1977 vpa1977 force-pushed the add_configuration_recipe branch from d8b1fb3 to 20d2945 Compare March 23, 2026 08:50
@vpa1977 vpa1977 requested a review from pushkarnk March 23, 2026 09:00
@vpa1977 vpa1977 merged commit 55538ae into canonical:main Mar 23, 2026
1 check passed
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