buildscript {
repositories {
maven {url "https://maven.aliyun.com/repository/google"} //替代google()
maven {url "https://maven.aliyun.com/repository/public"} //替代 jcenter() , mavenCentral()
maven {url "https://maven.aliyun.com/nexus/content/groups/public/"}
}
}
文件位置:

阿里云配置参考–>
本文介绍如何在buildscript中配置阿里云Maven仓库作为依赖源,包括替代google()、jcenter()及mavenCentral()的方法,适用于提高国内项目的构建速度。
1万+

被折叠的 条评论
为什么被折叠?



