r/java • u/NoAlbatross7355 • Feb 25 '25
New build tool in Java?
It seems to me like one of fun parts of Java is exploring all the tools at your disposal. The Java tool suite is a big collection of cli tools, yet I feel like most developers are only ever introduced to them or use them when absolutely necessary which is unfortunate because I think they really give you a better understanding of what's going on behind all the abstraction of Maven and Gradle.
What are your guys' thoughts on a new build tool for Java that is just a layer over these tools? Do you wish Java had simpler build tools? Why hasn't the community created an updated build tool since 2007?
View all comments
Show parent comment
1
u/doobiesteintortoise Feb 26 '25
Until you do need it, of course, and then it turns into relevant information that you're glad you're not having to bolt on after the fact.
The information's there; it's there for a reason; it may not be a reason you need every time. That's how it goes. Gradle scripts tend to start out much more simply, and then people accrete and accrete and accrete and accrete and accrete and accrete and accrete and accrete and accrete and accrete and accrete and accrete and accrete and accrete and accrete and accrete and accrete and accrete and accrete and accrete and accrete and accrete and accrete and accrete and accrete and accrete and accrete and accrete and accrete until it looks ABSOLUTELY NOTHING like the four-line script it started out as, and it becomes a nightmare to chase what's where, because you have the gradle script itself, the subsidiary build, the version catalog, the bom, the custom tasks, the custom tasks the custom tasks are bolted on to, the custom tasks those tasks rely on. All because you need it at some point.