r/java • • Jun 01 '24

What java technology (library, framework, feature) would not recommend and why?

165 Upvotes

464 comments sorted by

View all comments

124

u/jevring Jun 01 '24

Gradle. Having an executable build definition, rather than a declarative one, makes the build way more complicated than it has any right to be, which makes importing the project slower and harder to work with.

2

u/toiletear Jun 03 '24

Would I prefer Gradle on a well maintained project that treats its build files with the same level of care as it does its source code, overall has a strong preference for clean code and includes at least one engineer who has a lot of Gradle experience & is available to review my build related pull requests? Hell yes, anytime, nicely thought out Gradle builds are beautiful, forget about Maven.

Unfortunately, too often not even one of those are true, let alone all three. In those cases, Maven is definitely the safer option because DAMN can you also make an ugly Gradle build.

→ More replies (1)