Indeed it is and thanks to your workaround, I am able to proceed further.
v
Vampire
08/02/2023, 3:41 PM
Is there a reason not to simply use Groovy 3 for your Spock tests?
That's why there is Groovy 2.5, 3.0, and 4.0 variants of Spock
a
adarshr
08/02/2023, 3:44 PM
Yes. It’s a Spring Boot 3 project with the plugin being one of the sub projects. The plugin is actually an extension of the Spring Boot Gradle plugin and since Spring Boot 3 uses Groovy 4, I have had to upgrade Spock to 2.3-groovy-4.0.