安装
distributionBase=GRADLE_USER_HOME
替换 apline 源
set -eux && sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories
替换url
sed -e s"https://mirrors.cloud.tencent.com/gradle/gradle-6.8.1-bin.zip"/"file:///opt/gradle/gradle-6.8.1-bin.zip"/g gradle/wrapper/gradle-wrapper.properties
标签:zip,mirrors,gradle,mac,sed,M2,6.8
From: https://www.cnblogs.com/guanchaoguo/p/17457365.html