Re: Potential to include java.time.* as a default import for Groovy 5
Scott Murphy Heiberg <[email protected]> Sat, 31 May 2025 20:01:20 -0000
| Newsgroups | gmane.comp.lang.groovy.user |
|---|---|
| Message-ID | <pony-1f9a93f0-fc80-4083-82f9-d7f4bcfe43d8-users@groovy.apache.org> |
+1 This issue is really important to be me because I have written *a lot* of short Groovy scripts that do date manipulation. I had to continue using the Date class to avoid imports bogging down the script. There is also a strong need for this for an easy migration of Grails domain classes that utilize the Date class. Currently I had to introduce a workaround via a config script, but this approach is not compiler friendly. This will allow the elimination of the config script and true compiler support.