因为不可抗因素,下载某些插件或者软件包时,会十分慢,在网上寻找可替代的镜像。发现阿里云提供相关的服务,故查询并记录下来,方便以后使用。
阿里云云效 Maven 地址
https://maven.aliyun.com/mvn/guide?spm=a2c6h.13651104.0.0.322636a44xWXDV
Gradle配置
allprojects {
repositories {
google()
mavenCentral()
maven { url 'https://jitpack.io' }
maven { url 'https://developer.huawei.com/repo' }
maven { url 'https://maven.aliyun.com/repository/public' }
maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
maven { url 'https://maven.aliyun.com/repository/central' }
maven { url 'https://maven.aliyun.com/repository/google' }
maven { url 'https://repo1.maven.org/maven2' }
}
}