gradle version 2.10 code example
Example: gradle version
$ gradle -v
------------------------------------------------------------
Gradle 6.7.1
------------------------------------------------------------
$ gradle -v
------------------------------------------------------------
Gradle 6.7.1
------------------------------------------------------------