Gradle - Version

Gradle - Version

About

The gradle version may be different:

Scope / Type

Wrapper

Each project should have wrapper to support versioning by project.

cd /yourProject
.\gradlew --version
------------------------------------------------------------
Gradle 6.8.1
------------------------------------------------------------

Build time:   2021-01-22 13:20:08 UTC
Revision:     31f14a87d93945024ab7a78de84102a3400fa5b2

Kotlin:       1.4.20
Groovy:       2.5.12
Ant:          Apache Ant(TM) version 1.10.9 compiled on September 27 2020
JVM:          1.8.0_251 (Oracle Corporation 25.251-b08)
OS:           Windows 10 10.0 amd64

or check the distribution url in the wrapper properties file gradle\wrapper\gradle-wrapper.properties

System

The gradle binary that is delivered with the application will tell you the version of the gradle application installed (ie system scope)

gradle --version
------------------------------------------------------------
Gradle 5.6.4
------------------------------------------------------------

Build time:   2019-11-01 20:42:00 UTC
Revision:     dd870424f9bd8e195d614dc14bb140f43c22da98

Kotlin:       1.3.41
Groovy:       2.5.4
Ant:          Apache Ant(TM) version 1.9.14 compiled on March 12 2019
JVM:          1.8.0_251 (Oracle Corporation 25.251-b08)
OS:           Windows 10 10.0 amd64





Discover More
Gradle - Wrapper (gradlew)

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 quickly and projects can...



Share this page:
Follow us:
Task Runner