News for hackers. Stuff that matters.
Re:Gradle Is Javamaxxing by ysleepy on Thursday May 28, 2026 @03:19PM (#48314056)
Offense is the best defense? Gradle is usually lagging behind, being unable to build projects with the latest JDK a week after it was released because of some asm bytecode dependency bullshit.

I have an unreasonable hatred of gradle and its imperative, choose-your-own-language build files, every buildfile being structured differently.

Hateful.

Not even talking about how slow it is, no I don't want the garbage demon running somewhere.

Re:Gradle Is Javamaxxing by pjmlp on Thursday May 28, 2026 @03:40PM (#48314340)
There is only one reason to use Gradle, the poor souls that have to put up with Android development requirements, and have fun with updating their projects, every single time there are DSL changes.
Re:Gradle Is Javamaxxing by RandomBK on Thursday May 28, 2026 @04:32PM (#48315048)
As someone who uses gradle largely out of inertia, I'm curious what you would pick as a better alternative.
Re:Gradle Is Javamaxxing by pjmlp on Thursday May 28, 2026 @04:38PM (#48315123)
Maven as always.

I don't suffer from XML allergy, and Gradle is Ant all over again.

Worse, because it relies on a slow scripting language, or having to go through Kotlin, plus a background deamon.

Re:Gradle Is Javamaxxing by tmtvl on Thursday May 28, 2026 @05:14PM (#48315586)
I'm by-and-large fine with XML, having used it for many a year; however I really like working with XML when I can use Guile's SXML layer. For Maven it's not that important because POMs are simple enough, but for more complex things it's nice having a useful tool.

I actually don't mind Ant very much, but I haven't had good luck using Ivy for dependency management. Maven's been very nice in the decade and a half I've used it, Gradle's always felt off to me. I think there was also another Java build tool written in like Ruby or something, but I'm blanking on the name at the moment.

Re:Gradle Is Javamaxxing by pjmlp on Friday May 29, 2026 @01:57AM (#48319567)
Before Maven came to be, we had built nice macros on our Ant builds that were quite similar to how Maven works, but Ivy wasn't also around.

Eventually Maven grew on me, however I would rather go back to Ant than deal with Gradle, the time using it when I did Android development a few years ago, was more than enough.

Re:Gradle Is Javamaxxing by vips7L on Thursday May 28, 2026 @07:29PM (#48316987)
And for those that are allergic Maven 4 will offer alternative file types via extensions!
Re:Gradle Is Javamaxxing by panny on Thursday May 28, 2026 @09:39PM (#48317924)
Is it too late to stop that happening? Nobody wants maven + yaml or whatever else they will add. XML is the correct format.
Re:Gradle Is Javamaxxing by vips7L on Sunday May 31, 2026 @12:36AM (#48343053)
Idk I think it’s pretty good for the sheer fact that it takes away most arguments against maven. Almost ever argument is hurr durr xml bad.
Re:Gradle Is Javamaxxing by blandflakes on Thursday May 28, 2026 @05:05PM (#48315465)
Yeah I have long felt that if we think we need gradle, we should consider doing less crazy stuff in our build. Maven is plenty and any time I get back to a repo that has that instead of gradle or sbt I’m much happier.
Re:Gradle Is Javamaxxing by vips7L on Thursday May 28, 2026 @07:29PM (#48316981)
Sbt is by far the worst. It’s the bane of my existence.
Re:Gradle Is Javamaxxing by johnyzee on Thursday May 28, 2026 @07:42PM (#48317095)
I always hated Maven, until I started using Gradle.