Here is some quick references to code surrounding gradle
Blocks: Full Coverage
plugins- Where you define the plugins you want to use. (More Info)repositories- A block that tells gradle where to look for items. (More Info)pluginManagement- Where you define the projects plugins, containspluginsandrepositories blocks. (More Info)BuildScript- (Legacy for plugin) Definesrepositoriesanddependenciesfor adding plugins. Can also be used to add variables such as versions that are used across the project. (More Info)