Re:Ninja – A small build system with a focus on speed
by moonbug on Saturday March 28, 2015 @05:30PM
(#9282828)
About all that can be said for Gradle is that it makes Maven seem tolerable.
[ Parent
| on HN ]
Re:Ninja – A small build system with a focus on speed
by pjmlp on Sunday March 29, 2015 @11:42AM
(#9285205)
I don't really get the hype about Gradle.
For those of us without XML phobia, it doesn't offer any benefit and is slow as molasses.
Re:Ninja – A small build system with a focus on speed
by rquirk on Sunday March 29, 2015 @12:21PM
(#9285381)
You can speed it up somewhat by tweaking ~/.gradle/gradle.properties and adding org.gradle.daemon=true
and org.gradle.parallel=true. That way at least it doesn't have to re-read all the build files each time and will run some parts in parallel.
The benefit wrt the old Ant-based build is the way it lets you specify 3rd party dependencies. Being able to just add in say Timber, ButterKnife and Guava with a few lines of config, rather than downloading the jars, faffing with paths, making sure the pre-processing bits are in place, etc, is really a big benefit. Maybe Maven would have been a more sensible choice, since Gradle/Groovy seems pretty niche and not really used that much outside Android.
Re:Ninja – A small build system with a focus on speed
by pjmlp on Sunday March 29, 2015 @01:11PM
(#9285576)
> ... since Gradle/Groovy seems pretty niche and not really used that much outside Android.
This is the only reason I am now forced to deal with it.
On our enterprise Java projects it is all about Ant and Maven.