阿里云gradle镜像地址:macports-distfiles-gradle安装包下载_开源镜像站-阿里云macports-distfiles-gradle安装包是阿里云官方提供的开源镜像免费下载服务,每天下载量过亿,阿里巴巴开源镜像站为包含macports-distfiles-gradle安装包的几百个操作系统镜像和依赖包镜像进行免费CDN加速,更新频率高、稳定安全。https://mirrors.aliyun.com/macports/distfiles/gradle例: gradle-wrapper.properties 替换镜像地址
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
#distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip
distributionUrl=https://mirrors.aliyun.com/macports/distfiles/gradle/gradle-7.4-bin.zip