What is build-by-convention in Gradle deep explanation?
问题 The Gradle User Guide often mentions that Gradle is declarative and uses build-by-convention . What does this mean? From what I understand it means that, for example, in java plugin there are conventions like source must be in src/main/java ,tests must be in src/main/test , resources in src/main/resources , ready jars in build/libs and so on. However, Gradle does not oblige you to use these conventions and you can change them if you want. But with the second concept, I have a bigger problem