zlacker

[parent] [thread] 4 comments
1. Javier+(OP)[view] [source] 2025-12-03 08:05:10
I am unsure why people feel the need to say this about Gradle. If you aren't doing anything fancy, the most you will touch is the repositories and dependencies block of your build script, perhaps add publishing or shadow plugins and configure them accordingly but that has never been simpler than it is now. Gradle breaks when you feel the need to unnecessarily update things like the wrapper version or plugins without considering the implications that has. Wrapper is bundled in so you don't have to try and make a build script work with whatever version you might have installed on your system if you have any, toolchain resolution makes it so you don't even need to install an appropriate JDK version as it does that for you.

If the build script being a DSL is the issue, they're even experimenting around declarative gradle scripts [0], which is going to be nice for people used to something like maven.

0: https://declarative.gradle.org/

replies(2): >>DarkNo+A8 >>speed_+KP
2. DarkNo+A8[view] [source] 2025-12-03 08:54:35
>>Javier+(OP)
And yet. None of these issues exist in Maven to begin with.
replies(1): >>gf000+oy
◧◩
3. gf000+oy[view] [source] [discussion] 2025-12-03 12:14:36
>>DarkNo+A8
At the same time, only Maven requires doing a clean install from time to time as it fails to properly track what needs updating.

Gradle is better from this perspective, and hopefully with its "kotlinization" we will see some stability, which was the biggest issue it had before.

replies(1): >>DarkNo+zI
◧◩◪
4. DarkNo+zI[view] [source] [discussion] 2025-12-03 13:29:20
>>gf000+oy
I personally never had to do a clean install, and thought this is being perpetuted due to a mixture of habit and paranoia.

In any case, what are the proposed benefits of the "kotilization"? I tried it about a year ago but realized that it's just a syntax level-wrapper around the same old DSL underneath. In the end, I still viewed it as an ill-described DSL with a massive learning curve outside of happy-paths.

5. speed_+KP[view] [source] 2025-12-03 14:14:17
>>Javier+(OP)
So now there will be Kotlin DSL, Groovy DSL and declarative DSL, spread out over up to five files in the project root. Gradle is like C++, trying to climb out of it's complexity hole by digging deeper every new version.

The problem with Gradle is that it never had a clear philosophy to begin with. It's trying to be everything to everybody, changes best practices every year and has enough features that the project at hand could entirely be built out of Gradle scripts itself.

And oh, it still requires an update to run everytime a new JDK is released even though the SDK is the most backward compatible thing ever written.

[go to top]