4 ms·
Gradle is steaming pile of garbage. But since the zoomers are allergic to XML, Maven (actually fast) is slowly dying.
by MrBuddyCasino 3y ago
Gradle is steaming pile of garbage. But since the zoomers are allergic to XML, Maven (actually fast) is slowly dying.
- kaba0 3y agoGradle is much faster than maven as it can properly parallelize the workloads. Sure, it won’t be visible on a hello world, though.
- MrBuddyCasino 3y agoHas never been the case in my many years of using it. Hundreds of MB permanent RAM usage for the daemon (which it wouldn’t require if it was properly designed), everything taking well above 10s. None of this has ever been an issue with Maven.
- kaba0 3y agoYou can disable the daemon in gradle if you don’t want it.
- troupo 3y agoI've never seen gradle be faster than Maven. I have no idea what purose its daemon serves or its promise to "parallelize workloads". Which workloads? Its purpose is to build the project, fast. It spends about a magnitude of time more just trying to start up, even with daemon running.
- throwaway2037 3y agoThere seems to be some disagreement to your statement. Can you provide some concrete examples?
- kaba0 3y agohttps://gradlehero.com/maven-vs-gradle-comparison/ https://gradlehero.com/maven-vs-gradle-comparison/
- Phelinofist 3y agoWe are in the process of switching to Gradle at work and I'm not sure I like it. I used Gradle when building some OSS projects, but my experience wasn't that great.
- kaba0 3y agoJust make sure that whoever writes the majority of the build file actually understands gradle, at least its fundamentals. It really is not hard, and afterwards it is a really great tool that can significantly improve compile/CI times.
- troupo 3y agoThe tool whose main purpose is to build stuff should not demand "understand gradle at least fundamentals so that afterwards you can probable possibly improve times". Why isn't it fast out of the box? Why does the simple "provide a list of deps, provide a list of paths, build" take so darn long? Because Gradle is a great tool or something? Don't forget that it's also already at version 8, where each change is mostly incompatible, bizarre and inexplicable breakages between versions, often due to meaningless option renames. Imagine if they spent all that effort on actually making it a great tool.