Search code examples
androidkotlinandroid-gradle-plugingradle-kotlin-dsl

what's the benefits of using gradle on kotlin and android project?


i'm new on a kotlin developpment, i'm working on a mobile App on android studio and i use kotlin as language. so i wanted to know what's the importence of gradle by using tke kotlin and android?


Solution

  • Gradle is the build tool used to build Android apps.

    Its responsiblities are managing the dependencies of the project (the library used by your code), to compile the Java/Kotlin code, and to package the final APK with all the compiled code and your app resources (this part is much more complex, but that's a big picture).

    Android Studio is using Gradle under the hood for building & running your app.