From the course: Android Development Essential Training: Your First App with Kotlin

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Manage Gradle build scripts

Manage Gradle build scripts - Android Tutorial

From the course: Android Development Essential Training: Your First App with Kotlin

Start my 1-month free trial

Manage Gradle build scripts

- [Instructor] Your Android app is built or compiled by the Gradle library. Gradle is a build system. It's responsible for compiling your code and packaging the resulting files and your application resources so they can be deployed through the Google Play Store or other app stores. You configure Gradle using files called build dot gradle. And when you first create an application, you'll see that there are two versions of the file available, one labeled as the project file, and one labeled as the module file. Now, due to a known bug in Android Studio, you might not see both of these files displayed under Gradle scripts, when you're in the Android Scope. So, to find them, I recommend going to the project scope. You'll find the project file here under the project, and then the module file here under the app directory. And I'll open both of them at the same time. The project build dot gradle file defines the Gradle plug-in version, and if you're working in Kotlin, the version of the…

Contents