rewrite-spring icon indicating copy to clipboard operation
rewrite-spring copied to clipboard

2.4-2.5: Groovy 3 requires upgrade to 3.x-compatible version of Spock 2.x

Open fabapp2 opened this issue 3 years ago • 1 comments

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.version to downgrade back to Groovy 2.5.

fabapp2 avatar Jan 13 '22 20:01 fabapp2

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.

timtebeek avatar Nov 29 '23 10:11 timtebeek