3 ms·
I wonder, what's wrong with Gradle? I didn't develop for Android, but I use Gradle for plain Java projects and it's greatest build tool I've ever worked with. I
by vbezhenar 10y ago
I wonder, what's wrong with Gradle? I didn't develop for Android, but I use Gradle for plain Java projects and it's greatest build tool I've ever worked with. It's even better than Maven. Is it because of bad Android plugins?
- pjmlp 10y agoUsually builds are measured in minutes with all computer fans in full throttle. Google suggestions to ease the problems are to have a background daemon, using a JVM with at least 2GB allocated to it. Ant and Maven don't require any of this stuff to perform fast builds.
- lmm 10y agoIt's slow, underdocumented, and unreliable. There are too many ways to do anything, and it's too easy to add a "1-line fix" that does something unmaintainable. It's better than ant, but a lot worse than maven.
- smrtinsert 10y agoDefine better? Ant was unquestionably faster and extensible via custom tasks which the Android team could have done. Gradle will never be a fast build tool due to its design goals. It was a clear mistake to switch to them if you applied any knowledge of build tools.
- lmm 10y agoAnt builds have always been unmaintainable messes IME, via the incredibly verbose syntax and difficulty of organising tasks effectively. I have many issues with gradle but it at least seems to result in reasonably concise well-factored builds most of the time.