How to know which version of Gradle am i using in my android project?

How to know which version of Gradle am i using in my android project?

Gradle by itself is a general purpose build tool. It can be used to build almost anything you care to implement in the build script. It is declarative, since you don't want to see lots of code in the build file, which is not readable and less maintainable. One common question of every new developer of Android is how to know the current version of Gradle in the working project.

In this short article, we will explain you briefly how to know which version of graddle is using your Android Project.

A. From Android Studio

You can directly check the version of gradle used by your android project in Android Studio from the project structure. Go to File > Project structure:

Android Studio Project Structure

In the new window that will appear, go to the Project tab and verify the version of gradle in the Gradle version field:

Gradle Version Project Structure Android Studio

B. From the file

You can see as well the gradle version in the \YourProject\gradle\ file of your project without opening Android Studio. The file contains the following content:

#Mon Apr 08 17:22:20 COT 2019

Or do it as well from Android Studio:

Gradle Wrapper Properties File

So easy it is to know the version of gradle !

Happy coding !

This could interest you

Become a more social person