rewrite-spring
rewrite-spring copied to clipboard
2.4-2.5: Groovy 3 requires upgrade to 3.x-compatible version of Spock 2.x
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
- Groovy on classpath
org.codehaus.groovy:groovy - Spock on classpath
org.spockframework:spock-core
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.versionto downgrade back to Groovy 2.5.
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.