Projects and Plugins
Gradle provides a standardized project structure for domains such as Java, Scala, and Groovy. It takes a build-by-convention approach and provides recommendations on where different parts of the project should reside. For example, Gradle suggests that all of the Java source code should be placed in the src/main/java folder and all the test code should reside in the src/test/java folder. This standardization makes it easy for developers to jump from one project to another. This chapter covers Gradle’s build-by-convention features for Java projects.
Gradle follows a plugin-based architecture that makes it easy to ...