使用腾讯镜像
地址:
https\://mirrors.cloud.tencent.com/gradle/
把??gradle.properties
里面地址修改为:
distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists distributionUrl=https\://mirrors.cloud.tencent.com/gradle/gradle-4.6-all.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists
gradle-4.6-all.zip 替换为自己需要下载的即可