A lot of the confusion comes from the fact that while Gradle has a vision, it should be better shared and explained. It’s also victim of its age which means success: the road towards fine grained execution, safe parallelism, configuration, … is hard and there are some APIs which are sub-optimal for this, and maintaining backwards compatibility is a day-to-day challenge.
Which I think is the biggest problem with Gradle: a lack of documentation about how to do things the modern way, but lots of articles on the web on how to do it the old wrong way.
Gradle has evolved and so has the best way to write your build scripts. Sadly there articles haven't. It'll take a while for people to catch up.
(As a maintainer of a project with 62 Gradle subprojects, I can confirm when you get it right, Gradle is hands down better than any other tool in the Java space. It just takes a while to get there)
You don't need to use the module system, and I honestly don't care where my files are as long as the IDE can find them. The Maven layout is as good as any other and there's an advantage for standardising file locations.
40
u/Infeligo Mar 30 '21
This article has already been discussed 2 month ago:
https://www.reddit.com/r/java/comments/ksf3ku/the_problem_with_gradle/
There were some great comments and a link to the answer by one of Gradle developers.