gradle set gradle version code example
Example 1: latest gradle version
$ gradle -v
------------------------------------------------------------
Gradle 6.8.3
------------------------------------------------------------
Example 2: how to upgrade gradle version in linux
curl -s "https://get.sdkman.io" | bash
source "$HOME/.sdkman/bin/sdkman-init.sh"
sdk install gradle
Example 3: gradle version
$ gradle -v
------------------------------------------------------------
Gradle 6.7.1
------------------------------------------------------------