The author makes fine points if you want the build system to be something you live and breathe just like the programming language that you use day-to-day, but that isn't what I want, and I'm guessing it's not what most developers want.
I don't want to spend the same amount of effort to understand a build tool that I do to understand the language I'm developing in. I want to spend, say, 5% of that effort. I need to be able to make relatively simple and moderately complex changes to a build without learning something as complex as a new programming language, and gradle just doesn't allow that.
In regards to "many ways to do things" this is a problem specifically with readability. I can't read gradle scripts. Don't get me wrong, I can read the basics, but I don't use it often enough to internalize enough of the details to read anything past the most simple, common elements.
The fact that there are many different ways the tool is used is a huge barrier to picking up more of it. Googling for examples is mostly a useless endeavor, because so many results are using entirely different paradigms to configure their own projects. There's not enough commonality to make it easy to pick up anything even slightly non-trivial.
I’d argue that you do actually need just 5 mins. for most type of the project build use cases with Gradle. Building a lib, fat jar or a war file is quite trivial.
Yes, I’ve been deep in the Gradle rabbit hole when wanting to do something custom, like generating files on build or rule based multi-project shared deps. The ability to write your own tasks has only helped me.
I like Gradle a lot and its perf has improved significantly since v6. If I find a better tool, I’ll switch, but for now I’m happy with it.
One time I spent a whole day trying to make a fat jar because I didn’t know that you had to specifically invoke that task. None of the tutorials mentioned that. I assumed that all tasks would run on build
123
u/Grung Jan 17 '21
The author makes fine points if you want the build system to be something you live and breathe just like the programming language that you use day-to-day, but that isn't what I want, and I'm guessing it's not what most developers want.
I don't want to spend the same amount of effort to understand a build tool that I do to understand the language I'm developing in. I want to spend, say, 5% of that effort. I need to be able to make relatively simple and moderately complex changes to a build without learning something as complex as a new programming language, and gradle just doesn't allow that.
In regards to "many ways to do things" this is a problem specifically with readability. I can't read gradle scripts. Don't get me wrong, I can read the basics, but I don't use it often enough to internalize enough of the details to read anything past the most simple, common elements.
The fact that there are many different ways the tool is used is a huge barrier to picking up more of it. Googling for examples is mostly a useless endeavor, because so many results are using entirely different paradigms to configure their own projects. There's not enough commonality to make it easy to pick up anything even slightly non-trivial.