4 ms·
It seems to me that gradle has a performance edge (things like incremental rebuilds etc) although I haven't used it so I cannot say for sure. My inner grumpy a
by reitanqild 10y ago
It seems to me that gradle has a performance edge (things like incremental rebuilds etc) although I haven't used it so I cannot say for sure.
My inner grumpy anti-hipster says it is mostly about riding the tail of the anti-xml wave though: "no xml? Then it must be good!"
- pjmlp 10y agoFrom my Android SDK experience, Ant and Maven are much faster than Gradle. If you check the developer Q&A videos at Google IO 2016, one of the issues that got discussed was precisely the slow builds. It is also interesting that they had to re-write the public API in Java for Gradle 3, as part of their speed improvements.
- darylteo 10y agoFrom what I know, the Groovy runtime was a constant-time bottle neck for all builds (time to initialise, interpret etc.), hence the perceived "slow builds" for any small to medium sized project.
- Eridrus 10y agoMy experience is similar to yours - when not using the dragle daemon. IIRC the gradle daemon made things competetive if not faster, though it's been a while since I tried.
- pjmlp 10y agoYet Ant and Maven don't need a daemon to be fast. There is a recent post from the Android team, where they advise to allocate between 2 and 5 GBs for the daemon!