-
Notifications
You must be signed in to change notification settings - Fork 466
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Groovy 4 #1374
Comments
There is a plan to add a separate groovy-4.0 Spock in the next stable Groovy release, assuming 4.0-RCx will be ready then. |
That's great, thanks. Do you know when to expect that? Also, do I understand correctly that there are no known problems with Groovy 4 that'd affect Spock? |
I solved the main problem related to running Spock with different Groovy versions by implementing the aforementioned |
I've started a PR for this topic #1382 |
Groovy 4 GA is out now. Do you know when we can expect a release of Spock? Thanks! |
2.1 is out but seems no Groovy 4 support? Do you plan to add it in 2.2? |
Yes, that is the plan. See also https://twitter.com/spockframework/status/1493715988440883206. |
Thank you |
Is your feature request related to a problem?
When I tried to use Spock 2.0 with Groovy 4.0.0-beta-1, I got the following error:
Describe the solution you'd like
I'd like Spock to support Groovy 4.
Describe alternatives you've considered
I can actually run my tests if I pass
-Dspock.iKnowWhatImDoing.disableGroovyVersionCheck=true
to both the compiler and the test runner JVMs, but it would be nicer if I didn't have to.I also need to manually suppress the Groovy dependency used by Spock, as the new one is now under the
org.apache.groovy
group.Additional context
Groovy 4.0.0-beta-1 has been released a few weeks ago. It would be nice if Spock supported the latest version.
The text was updated successfully, but these errors were encountered: