http://blog.csdn.net/maosidiaoxian/article/details/40109337
GRADLE_HOME到你的gradle根目录当中,然后把%GRADLE_HOME%/bin(linux或mac的是$GRADLE_HOME/bin)加到PATH的环境变量
GRADLE_HOME=J:environmentgradle-2.11-bingradle-2.11
PATH=%GRADLE_HOME%/bin
运行gradle -v