how rest application read gradle version at time of build using gradle-wrapper code example Example: ./gradlew build $ gradle myTask