85.4 Module Level Gradle Build Files
An Android Studio application project is made up of one or more modules. Take, for example, a hypothetical application project named GradleDemo which contains two modules named Module1 and Module2 respectively. In this scenario, each of the modules will require its own Gradle build file. In terms of the project structure, these would be located as follows:
•Module1/build.gradle
•Module2/build.gradle
By default, the Module1 build.gradle file would resemble that of the following listing:
apply plugin: 'com.android.application'
android {
compileSdkVersion 29
buildToolsVersion "29.0.2"
defaultConfig {
applicationId "com.ebookfrenzy.module1"
minSdkVersion 26
targetSdkVersion...