Hacker News new | past | comments | ask | show | jobs | submit login

From 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.




From 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.


My 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.


Yet 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!


Wow, that's totally crazy. Is that due to Android projects needing to link against Android which is a very large library?

I don't recall it being that dire for my non-Android project, but I don't recall checking my mem usage either...


Due to the DEX conversion.




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: