Re: [Heads up] Gradle builds on main
Michael Sokolov <[email protected]> Thu, 30 Oct 2025 15:37:33 -0400
| Newsgroups | gmane.comp.jakarta.lucene.devel |
|---|---|
| Message-ID | <CAGUSZHC7iiN_GXgE-CLPyanYUd5Z7fnikZ1Ax7=WyN0SEkT6rg@mail.gmail.com> |
Thank you for this! I know I was one of the ones complaining, heh, and not doing anything about it, so thanks a lot! I haven't done too many builds lately, but I look forward to giving it a spin. On Thu, Oct 30, 2025 at 12:39 PM Dawid Weiss <[email protected]> wrote: > > > Hello everyone, > > Just a quick follow up to those that don't follow github PRs - this change should be beneficial for you > if you're using IDE to run the tests via gradle - > > https://github.com/apache/lucene/pull/15384 > > Dawid > > On Tue, Oct 28, 2025 at 6:17 PM Dawid Weiss <[email protected]> wrote: >> >> >> Hello everyone, >> >> (TL;DR; if you experience some quirks with the build on main - please ping me. It may be the case I introduced a regression somewhere.) >> >> I've finished moving gradle scripts to Java on main. I also did some cleanups, aiming to make the build faster and to make it compatible with newer gradle features. >> >> Moving to Java made many things clearer to me, even if they're a bit more verbose. I hope it'll be your impression as well. It's still far from a "simple" build, sorry. >> >> The startup time still isn't fast but I think it's faster than before. For example: >> >> > time ./gradlew --no-daemon tasks >> >> * on 10x: >> real 0m11.606s >> user 0m20.956s >> sys 0m4.569s >> >> * on main: >> real 0m8.095s >> user 0m13.523s >> sys 0m3.710s >> >> If you're using the daemon, it should be even snappier. Newer gradle features like the configuration cache could speed things up... but I've had enough of this code and need some time away from it. >> >> Dawid