I installed gradle on MAC using terminal.
brew install gradle
Gradle has been successfully installed.
gradle -v ------------------------------------------------------------ Gradle 3.3 ------------------------------------------------------------ Build time: 2017-01-03 15:31:04 UTC Revision: 075893a3d0798c0c1f322899b41ceca82e4e134b Groovy: 2.4.7 Ant: Apache Ant(TM) version 1.9.6 compiled on June 29 2015 JVM: 1.8.0_112 (Oracle Corporation 25.112-b16) OS: Mac OS X 10.12.3 x86_64
but I can not find gradle home.
echo $GRADLE_HOME [empty result]
The first step to locating the home directory is to locate the gradle :
which gradle /usr/local/bin/gradle
There is an incomprehensible bash file.
Any ideas on how to detect the gradle home directory via terminal?
java bash gradle macos
Sergii
source share