Summary

We started off this chapter by building a very simple Java project. We saw how the intelligent conventions of the java plugin helped us keep the build file concise. Then, we added unit tests to this project and included the JUnit library from the Maven central repository. We made the tests fail and checked the reports to see the explanation. Then, we saw how the application's distribution can be created using the application plugin. Finally, we saw the idea and eclipse plugins that help us generate the IDE-specific files for our project.

Overall, we realized how powerful the plugin system in Gradle is. Gradle, out-of-the-box, ships with many interesting plugins, but we are not forced to use any of them. We will build a web application in ...

Get Gradle Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.