This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Go 1 min █████████████████████ 100.0% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
allprojects { | |
repositories { | |
// 指定使用maven本地仓库,查找顺序为: USER_HOME/.m2/settings.xml >> M2_HOME/conf/settings.xml >> USER_HOME/.m2/repository | |
// 若本地仓有该依赖,则直接加载本地仓的依赖,若没有,则从远程仓库下载 (下载到gradle缓存目录, 非maven本地仓库) | |
mavenLocal() | |
maven { name "Alibaba"; url "https://maven.aliyun.com/repository/public" } | |
maven { name "Bstek"; url "https://nexus.bsdn.org/content/groups/public/" } | |
mavenCentral() | |
} | |