add GRADLE_HOME and update path for mac