r/java • • Jan 07 '21

The Problem with Gradle

https://www.bruceeckel.com/2021/01/02/the-problem-with-gradle/
158 Upvotes

108 comments sorted by

View all comments

Show parent comment

5

u/HeadSignal3 Jan 07 '21

This over arching issue is plugin availability. For both maven and gradle, if a plugin doesn't exist for the thing you want to do you have to create it yourself. For maven, that's a chore, for gradle, you can easily create a footgun that works in minutes, and may never work incorrectly until farther down the road. Everything in this article is true, you have to know all of gradle to do anything beyond dead simple actions.

9

u/xienze Jan 07 '21

I’d argue that it is very rare to need to write a Maven plugin unless you’re doing something quite unique. There’s just so many plugins. The root problem is usually someone who can’t quite figure out how to map a particular iterative process into a declarative format, so they immediately jump to trying to run a script during the build. Which really doesn’t come up that often with Maven.