

It is developed for the multi-projects, which can be quite large. It is a build automation tool that is an open-source and based on the concepts of Apache Maven and Apache Ant. Gradle is an advanced general-purpose build management tool that is based on Groovy and Kotlin.

Our Gradle tutorial includes project task, installation and configuration, Gradle build, Gradle Build Scans, Gradle dependencies, Gradle Projects, Gradle eclipse plug-in, Gradle with Java, Gradle with spring, Gradle with Android and more concepts related to Gradle. Our Gradle tutorial is developed for beginners and professionals. VersionName : The version name for your app.Gradle tutorial provides basic and advanced concepts of the Gradle tool. VersionCode : The version number of your app. TargetSdkVersion : The API level used to test the app.

MinSdkVersion : Minimum API level required to run the app. Here you need to configure all the following parameters for the android build:ĬompileSdkVersion : It specifies the Android API level, Gradle should use to compile your app.īuildToolsVersion : It specifies the version of the SDK build tools.ĪpplicationId : Uniquely identifies the package for publishing. This is the entry point for the Android DSL (Domain Specific Language). 2. apply plugin :Ĭom.android.application : This is the plugin used for building Android applications.Ĭom.android.library : This is the plugin used for building Android Library. This block configures the dependencies Gradle needs to use to build your project. Gradle pre-configures support for remote repositories such as JCenter, Maven Central, and Ivy. This block configures the repositories Gradle uses to search or download the dependencies. This block is where you configure the repositories and dependencies for Gradle itself. applicationâĪndroid build file contains the following 3 main parts 1.
