-
Notifications
You must be signed in to change notification settings - Fork 203
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
Move to JUnit 5 and Gradle 7 #495
Conversation
-All test tasks now have "ignoreFailures = true" since some stock tests are failing already and blocking the custom tests of the user
Thank you Mohammad, this will be helpful. A few weeks ago I was working on updating to Groovy 3, which requires an update to Spock to a version that requires JUnit 5, and I was having trouble getting those working before running out of time, so this should be helpful for the Groovy 3 update effort as well. On the time topic, my time is pretty limited for the next few weeks so it may be some time before I work on this. I plan to do these sorts of changes as part of the 'java11' branch of moqui-framework so that we can get a few of these big version updates in at the same time, especially because a few are not backward compatible. In the webroot component build.gradle in moqui-runtime IMO we need to find an alternative sooner than later, and I'd prefer that over another jar variant that we maintain (we already do that for Bitronix), even if it means that we only do simple JS and CSS file combining (just concatenate) and live without the minify. |
Thank you for the reply David. The next major LTS version of Java (17) will be released on 2021/09/14. Might i suggest that we wait and directly upgrade to that instead of Java 11. Regarding the webroot gradle js and css minify, here are some solutions that the users of the eriwin project migrated to:
these solutions are not mine nor do i have enough web knowledge to compare their efficiency |
It will be a long time after Java 17 is released before we require it in Moqui. Just like Java 11 now, the intent will be to support it for some time while waiting for libraries and infrastructure to catch up (including operating systems, hosting service default images, etc). Part of the community feedback on this includes things like versions of Java supported on all sorts of platforms from AWS Elastic Beanstalk and Container Service to IBM iSeries. The main impact of this is we can't use new language features until the newer version of Java is required for Moqui, and until fairly recently there were reasons we could not update to Java 11 without breaking things for some Moqui users who told us about that in community feedback. |
Hello David, any updates? |
Nope, no updates, and this could require a fair amount of work. As with most things on my mile long to do list (most of which I'm not interested in), this will get done when I care about it enough AND have sufficient free time and energy for it, or when a client pays to prioritize. This PR should not go in as-is and I couldn't give an ETA. At some point updating Java, Groovy, Spock, Gradle, etc will become a priority for some reason, but for now other features and such are higher priorities. |
No worries.... I can work on this myself if you wish, but my pace will be probably the same as yours. Out of subject, but how can I ask questions like the ones on the mailing list. I currently have a stack of questions/helper tools/feedback/(recommendations?!) i would like to share. |
The mailing list is a fine place, the new forums even better (forum.moqui.org). |
This is complete as of the merge of the 'java11' branch. |
Dear Mr. Jones
please find the connected commits to the below repos:
the goal of these commits is to move to Gradle 7.2 and to Junit 5
gradle 7:
changes need some
How to handle deprecated message related to Gradle 6.0 and the gradle-js-plugin ? eriwen/gradle-js-plugin#168
by doing:
Gradle 6.0.1 Build Failed eriwen/gradle-js-plugin#177 (comment)
JUnit5
For any modification to the commit or for further information, please contact me on [email protected]