+1
On Sun, Jun 1, 2025 at 6:30 AM Gianluca Sartori wrote:
> +1
>
> Gianluca Sartori
> --
> https://dueuno.com
>
> On Sat, 31 May 2025 at 09:37, Paul King wrote:
> >
> > Hi folks,
> >
> > We have a feature request, and potential PR, to add java.time.* as a
> > new default import:
> >
> > https:/
+1
Gianluca Sartori
--
https://dueuno.com
On Sat, 31 May 2025 at 09:37, Paul King wrote:
>
> Hi folks,
>
> We have a feature request, and potential PR, to add java.time.* as a
> new default import:
>
> https://issues.apache.org/jira/browse/GROOVY-11513
> https://github.com/apache/groovy/pull/215
Would it be feasible to have a project-level configuration akin to
lombok.config that could be used to un-auto-import packages (classes would
be even better, but I think this conflicts with the internal compiler
representation of the auto-imports). I would personally like java.time
included, but I
+1
>From a class-centric perspective, if Date is available by default,
LocalDate et. al. should also be available.
On Sat, May 31, 2025, 7:48 AM James Daugherty
wrote:
> Hi Paul,
>
> Is the proposal to do this for 5.x or earlier?
>
> -James
>
> On Sat, May 31, 2025 at 6:25 AM Sergio del Amo
>
Hi Paul,
Is the proposal to do this for 5.x or earlier?
-James
On Sat, May 31, 2025 at 6:25 AM Sergio del Amo
wrote:
> +1 from me.
>
> Although I have fallen into Groovy's @Singleton vs Jakarta @Singleon
> pitfall, given that `java.time` classes are strongly recommended, I think
> this change
+1 from me.
Although I have fallen into Groovy's @Singleton vs Jakarta @Singleon pitfall,
given that `java.time` classes are strongly recommended, I think this change is
positive.
> On 31 May 2025, at 09:36, Paul King wrote:
>
> Hi folks,
>
> We have a feature request, and potential PR, to
I'd love to have java.time as a default import!
It's interesting you post this today, as just yesterday, I was writing a
Groovy script, using java.time, and somehow forgot that it wasn't already a
default.
Of course, I got an error, and immediately understood that I should have
imported the java.ti