在 GRADLE_HOME/init.d/ 目录下新建: init.gradle 文件,内容如下:
gradle-5.0-rc-1/init.d$ cat init.gradle
allprojects { repositories { mavenLocal() maven { url } } }