gradlew version code example
Example 1: latest gradle version
$ gradle -v
------------------------------------------------------------
Gradle 6.8.3
------------------------------------------------------------
Example 2: DISTRIBUTION URL GRADLE
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-bin.zip
Example 3: gradle version
$ gradle -v
------------------------------------------------------------
Gradle 6.7.1
------------------------------------------------------------