👇 click thumbnail to watch video
In this second entry in my Understanding Gradle series we look at what the central configuration scripts of Gradle – the Build Files – should be used for.
The Gradle project in this folder is an updated version from the previous video.
This sample is best explored in IntelliJ IDEA.
Open 02_The_Build_Files/my-project
in IDEA and confirm with Trust Project.
Each video only scratches the surfaces of the features shown. This is on purpose to give you a general understanding of how things work in Gradle. This understanding enables you to structure your project in a readable and maintainable way.
More details on each feature covered in this video can be found in the Gradle User Manual. The Manual, however, is very detailed on all kinds of topics and also contains information on legacy features (it's not always clear which these are).
To help you find the right places, here are some deep links into the Manual on the topics discussed in the video:
- Applying plugins (Plugins DSL)
- The
java
Extension (as one example of an Extension added by a plugin) - Declaring Dependencies (other Subprojects)
- Declaring Dependencies (Components)
Contact me, if you need help with Gradle: onepiece.Software.