How to determine the version of Gradle?

how to check gradle version in android studio
check gradle version intellij
check gradle version mac
update gradle
gradle version android
gradle get version of project
gradle version 2
gradle version changelog

How can I know which version of Gradle I am using in my Android Studio? Please guide.

I want to make sure I am using Gradle version 2.2.1.


Option 1- From Studio

In Android Studio, go to File > Project Structure. Then select the "project" tab on the left.

Your Gradle version will be displayed here.

Option 2- gradle-wrapper.properties

If you are using the Gradle wrapper, then your project will have a gradle/wrapper/gradle-wrapper.properties folder.

This file should contain a line like this:

distributionUrl=https\://services.gradle.org/distributions/gradle-2.2.1-all.zip

This determines which version of Gradle you are using. In this case, gradle-2.2.1-all.zip means I am using Gradle 2.2.1.

Option 3- Local Gradle distribution

If you are using a version of Gradle installed on your system instead of the wrapper, you can run gradle --version to check.

Declaring Versions and Ranges, You'll be able to find the task listed under the group "Build Setup tasks" when Once you have upgraded the wrapper, you can check that it's the version you  How to determine the version of Gradle? Option 1- From Studio. In Android Studio, go to File > Project Structure. Then select the “project” tab on the left. Your Gradle version will Option 2- gradle-wrapper.properties. If you are using the Gradle wrapper, then your project will have a


You can also add the following line to your build script:

println "Running gradle version: $gradle.gradleVersion"

or (it won't be printed with -q switch)

logger.lifecycle "Running gradle version: $gradle.gradleVersion"

The Gradle Wrapper, Users can choose to render the full graph of dependencies as well as identify the that occurred in the process and clearly indicates the selected version. Question: How do I find the version of libraries that are being used when my Gradle file mentions a dependency using the '+' operator in the version number of the dependency? Context My build.gr


At the root of your project type below in the console:

gradlew --version

You will have gradle version with other information (as a sample):

------------------------------------------------------------          
Gradle 5.1.1 << Here is the version                                                         
------------------------------------------------------------          

Build time:   2019-01-10 23:05:02 UTC                                 
Revision:     3c9abb645fb83932c44e8610642393ad62116807                

Kotlin DSL:   1.1.1                                                   
Kotlin:       1.3.11                                                  
Groovy:       2.5.4                                                   
Ant:          Apache Ant(TM) version 1.9.13 compiled on July 10 2018  
JVM:          10.0.2 ("Oracle Corporation" 10.0.2+13)                 
OS:           Windows 10 10.0 amd64                                   

I think for gradle version it uses gradle/wrapper/gradle-wrapper.properties under the hood.

Viewing and debugging dependencies, version of Gradle, for example because they use internal APIs that have been removed or changed. The previous step will help you identify potential problems​  How to check java version when running gradle? Ask Question Asked 4 years, Just add the code checking version of java at the very beginning of build.gradle script.


I found the solution Do change in your cordovaLib file build.gradle file

dependencies { classpath 'com.android.tools.build:gradle:3.1.0' }

and now make changes in you,

platforms\android\gradle\wrapper\gradle-wrapper.properties

distributionUrl=\ https://services.gradle.org/distributions/gradle-4.4-all.zip

this works for.

Upgrading your build from Gradle 5.x to 6.0, To check version of Gradle, type gradle -v in window command prompt. C:\Users​>gradle -v --------------------  The recommended way to execute any Gradle build is with the help of the Gradle Wrapper (in short just “Wrapper”). The Wrapper is a script that invokes a declared version of Gradle, downloading it beforehand if necessary. As a result, developers can get up and running with a Gradle project


2019-05-08 Android Studios needs an upgrade. upgrade Android Studios to 3.3.- and the error with .R; goes away.

Also the above methods also work.

Gradle, I couldn't find anything to work as wrapper version seems that is not being used. Example of the command that is using Unity :. Releases. Here you can find binaries and reference documentation for current and past versions of Gradle. You may find release candidates, release nightly builds and master nightly builds on their respective pages.


Change version of Gradle to 4.6, IntelliJ IDEA supports a fully-functional integration with Gradle that helps you automate your building Check Gradle JVM and language level IntelliJ IDEA lets you use different options to configure a Gradle version for your Gradle project​. Download the latest Gradle distribution. The current Gradle release is version 6.3, released on 24 Mar 2020. The distribution zip file comes in two flavors: Binary-only; Complete, with docs and sources; If in doubt, choose the binary-only version and browse docs and sources online. Need to work with an older version? See the releases page. Step 2.


Gradle - Help, Else, you could edit Project build.gradle . buildscript { repositories { } dependencies { classpath 'com.android.tools.build:gradle:3.1. This determines which version of Gradle you are using. In this case, gradle-2.2.1-all.zip means I am using Gradle 2.2.1. Option 3- Local Gradle distribution. If you are using a version of Gradle installed on your system instead of the wrapper, you can run gradle --version to check.


Android Studio How to Check and Update Gradle Version, You can now determine the length of time it takes Clang to build and link each On Android Gradle plugin version 3.4.0, you can opt-in to check whether your  The idea is to run your project against every possible minor version of Gradle between the one currently present in the project (4.7) and the latest one (6.0.1 as a time of writing) to find you the