Hacker News new | ask | show | jobs
by henry700 330 days ago
I hate wrangling with configuration to make an amalgamation of plugins do what's expected in the expected order for my build; Gradle is just code and a DSL
2 comments

If I would've gotten a Euro for every time "is just a DSL" was a reason everything was hard to debug and prone to failure, I'd have many Euros by now.
Well, good luck debugging a multi-module maven pom file, then. You can get terrible error messages from both, to be honest.
It’s two DSLs which are versioned and whose behaviors are different.

Gradle groovy is extremely permissive (eg: you can access private class instance variables without even knowing that you are doing so)

Kotlin lacks that permissive quality in exchange for much easier introspection.

It’s often trivial to move from one to the other but those edge cases can find you in a codebase of any complexity.