-
Notifications
You must be signed in to change notification settings - Fork 388
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
Upgrade to Groovy 2.4.21, fix unsupported target MODULE error. #426
Upgrade to Groovy 2.4.21, fix unsupported target MODULE error. #426
Conversation
Last I checked, Jenkins still shipped with Groovy 2.4.12. I'm not sure how I'd feel about updating to a version that is newer than what Jenkins has. Can we just update to 2.4.12? (Which arguably should be done anyways). Would that fix the gradle error? |
Well, 2.4.12 doesn't work because it has another bug.
The error gets better in 2.4.13.
It goes away in 2.4.14. Best I can do to 2.4.12 is 2.4.14, but maybe we want go to the latest patch release, because this is not a runtime library? I would want to see a test that passes here and fails in Jenkins because of Groovy version. I could easily have the same argument across Java versions - we build using Java 8, but I run tests with Java 11 in my own project. |
b2d3362
to
a1df072
Compare
Use earliest groovy (2.4.14) that passes tests, close to the same as Jenkins (2.4.12).
a1df072
to
185d81f
Compare
Groovy 2.4.12 implemented support for target MODULE, whatever that means. Upgraded to the latest version of Groovy 2.4. Added JDK 11 (LTS) to CI.
Had to make two other changes:
getResource
in@BeforeClass
returnsnull
, moved that initialization code in a before blockFixes #292.