3 ms·
To those who say that it's not a good idea to use a full programming language for your build scripts. Gradle uses "a full programming language" and I hate it b
by grishka 2y ago
To those who say that it's not a good idea to use a full programming language for your build scripts.
Gradle uses "a full programming language" and I hate it but I have to use it for Android projects. Debugging Gradle problems is as fun as you'd imagine. There's a lot of dark matter in your build scripts that you don't see but that influences what happens. And because Android tooling is a clusterfuck ever since the demise of Eclipse+ADT, any change you make to your build process runs the risk of the entire thing exploding in your face.
This one is at least fully predictable, self-contained and doesn't randomly download 150 MB of crap when you're on a slow coffee shop wifi. I'm gonna try it sometime.
- lmm 2y ago> Gradle uses "a full programming language" and I hate it Yep, that's exactly why you're much better off with Maven. Last I knew it was still possible to build Android apps with Maven, even if it's not the primary/recommended way.
- kaba0 2y agoGradle uses a programming language to create a static build graph that can be analyzed and efficiently executed. I agree that gradle is not the most user-friendly software out there, but I can only think of bazel that would be up for the task of building such a complex project as android, so it’s also a testament to its strength.
- Osiris-Team 2y agoHappy to hear that! 1JPM is still pretty new and I expect there to be bugs, so if you have some free time and are interested in making this something usable feel free to contribute some day :)