Using Gradle to build, configure, and manage app dependencies
In the course of creating this project, you have principally used the Android platform SDK. The necessary Android libraries were downloaded when you installed Android Studio. However, these are not the only libraries that are used to create your app. To configure and build your Android project or app, a build tool called Gradle is used.Gradle is a multi-purpose build tool that Android Studio uses to build your app. You can either use Kotlin or Groovy, a dynamically typed Java virtual machine (JVM) language, to configure the build process and allow easy dependency management so you can add libraries to your project and specify the versions.As the default language when creating a new project in Android Studio is Kotlin, you will be using this. The files that this build and configuration information is stored in are named build.gradle.kts
, which are Kotlin script files. You benefit from the same autocompletion and...