openrewrite / rewrite-spring

OpenRewrite recipes for Spring projects.
Apache License 2.0
238 stars 67 forks source link

2.4-2.5: Groovy 3 #145

Open fabapp2 opened 2 years ago

fabapp2 commented 2 years ago

Release Notes The default version of Groovy has been upgraded to 3.x. If you are using Groovy and also using Spock, you should also upgrade to the latest Groovy 3.0-compatible release of Spock 2.0. Alternatively, use the groovy.version to downgrade back to Groovy 2.5.

Condition

Description

The default version of Groovy has been upgraded to 3.x.. You should also upgrade to the latest Groovy 3.0-compatible release of Spock 2.0. Alternatively, use the groovy.version to downgrade back to Groovy 2.5.

timtebeek commented 8 months ago

This can probably be implemented as a yaml only recipe, having a precondition on the use of both groovy and spock, and a recipe that then upgrades the version of Spock.