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.

24

u/neopointer Jun 01 '24

I second this. Gradle brings a complexity that more often than not you don't even need.

I would replace all our projects where we use Gradle with maven if I could.

18

u/0xFatWhiteMan Jun 01 '24

This is so nuts to me. I would do the opposite

14

u/Rakn Jun 01 '24

Why though? There is no need to add so much flexibility and complexity to a simple build. It becomes interesting once you have a dedicated team working on build tooling. You can probably do fancy stuff on top of it. But on many projects it's just a maintenance burden at some point.

1

u/gaius49 Jun 05 '24

There is no need to add so much flexibility and complexity to a simple build.

Simply put, if its a simple build, the Gradle setup will also be very simple. If your project is actually complex, Gradle gives you the power to do complex things.

→ More replies (1)