-
Notifications
You must be signed in to change notification settings - Fork 471
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
Set groovy minVersion to 2.5.0 #905
Conversation
Done to support cases where 2.5.2 cannot be used: https://issues.apache.org/jira/browse/GROOVY-8779
Codecov Report
@@ Coverage Diff @@
## master #905 +/- ##
========================================
Coverage 75% 75%
Complexity 3439 3439
========================================
Files 371 371
Lines 10580 10580
Branches 1337 1337
========================================
Hits 7936 7936
Misses 2174 2174
Partials 470 470 Continue to review full report at Codecov.
|
@henrik242 You have changed |
@MartyIX No, groovyVersion does not need to be be changed. That way https://issues.apache.org/jira/browse/GROOVY-8710 is handled properly, at the same time as people seeing https://issues.apache.org/jira/browse/GROOVY-8779 can use the latest spock. (It works perfectly for me in a project with Java 10.0.2 and Groovy 2.5.1.) |
But all Spock tests were run on 2.5.2 in Travis so you can't guarantee that it really works with 2.5.1 or 2.5.0. That's what confuses me. |
@MartyIX It really does work in my pretty large project with 800+ spock test files. |
That's great. :) |
@henrik242 I agree with @MartyIX that currently the Travis build doesn't check the codebase with Groovy 2.5.0. I know why changing it ( Have you at least tried to build Spock with 2.5.0 (set as |
I haven't tried it, but I guess building Spock with 2.5.0 might fail? At least I have tested thoroughly that using Spock works well with minVersion = 2.5.0 |
AFAIR the build fails. |
@henrik242 The other way to solve your issue is to use Groovy 2.5.3 snapshot (stable version to be released in a week or so). It works with the latest RC of Spock and with the latest EAP version of IDEA (I don't use stable IDEA so I can't say anything about that.) |
@MartyIX Yeah, that's what I'm currently doing. No EAP is needed, though, the regular IDEA release works fine. |
fixed in 0c3c553 |
Done to support cases where 2.5.2 cannot be used: https://issues.apache.org/jira/browse/GROOVY-8779
See
This change is