grails-core icon indicating copy to clipboard operation
grails-core copied to clipboard

OpenRewrite for Grails 7

Open jdaugherty opened this issue 1 year ago • 1 comments

Feature description

Add openrewrite scripts to facilitate easier upgrades to Grails 7

jdaugherty avatar Oct 17 '24 16:10 jdaugherty

@jdaugherty you should touch base with @dauer You can ask me for his out-of-band contact info

sbglasius avatar Oct 17 '24 16:10 sbglasius

See for example: https://github.com/dauer/grails-openrewrite-playground

jdaugherty avatar Oct 24 '24 16:10 jdaugherty

May be possible to do something similar to https://aws.amazon.com/q/developer/code-transformation/ for automated GitHub action updates.

jdaugherty avatar Oct 24 '24 16:10 jdaugherty

See how micronaut handles this:

  • https://micronaut.io/2023/07/14/upgrade-to-micronaut-framework-4-with-openrewrite-and-maven/
  • https://docs.openrewrite.org/recipes/java/micronaut

jdaugherty avatar Oct 24 '24 16:10 jdaugherty

We experimented with this and between the lack of groovy support & the recent relicensing of the library have decided to not proceed.

jdaugherty avatar Jul 02 '25 02:07 jdaugherty