News for hackers. Stuff that matters.
Re:It’s Been Real, Android: Why I’m Retiring from Android by signal11 on Thursday October 13, 2016 @06:39AM (#12699739)
> Gradle badly needs performance improvement

gradle --daemon is a hack, I guess, but I always use it for my builds (even aliased gradle to gradle --daemon). It's far too slow otherwise.

On newer gradle releases I believe the daemon is enabled by default.

Re:It’s Been Real, Android: Why I’m Retiring from Android by foobarian on Thursday October 13, 2016 @08:15AM (#12700186)
My problem with gradle is the built in Java dependency resolution is way too aggressive. If you change a class with a static constant it recompiles everything. Even if you don't, it will compile the whole dependency graph to handle some theoretical edge case when it would be enough to compile just the modified file 99% of the time. Oh well.
Re:It’s Been Real, Android: Why I’m Retiring from Android by Sagiri on Thursday October 13, 2016 @03:20PM (#12703317)
Personally, I would rather builds be slow than have my build mysteriously break when I'm in that 1%.
Re:It’s Been Real, Android: Why I’m Retiring from Android by foobarian on Thursday October 13, 2016 @11:38PM (#12705988)
For me it depends. If I'm in a development session with lots of iterations where build speed is the bottleneck, I'd take my chances (I do anyway, have to resort to manually compiling individual files). For production/CI/other builds it's a different story, although those usually get built clean so it's not even a consideration.
Re:It’s Been Real, Android: Why I’m Retiring from Android by on_and_off on Saturday October 15, 2016 @09:25AM (#12713842)
if you are on a dev session with a lot of iterations, you really want to go the InstantRun (or JRebel) route.