92.3 The Top-level Gradle Build File
A completed Android Studio project contains everything needed to build an Android application and consists of modules, libraries, manifest files and Gradle build files.
Each project contains one top-level Gradle build file. This file is listed as build.gradle (Project: <project name>) and can be found in the project tool window as highlighted in Figure 92-1:
Figure 92-1
By default, the contents of the top level Gradle build file reads as follows:
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
mavenCentral()
}
dependencies {
classpath "com.android.tools.build:gradle:4.2.0-rc01"
...