阿里云仓库地址 https://developer.aliyun.com/mvn/guide
Android Studio 配置地址 哪个地址在上面就会先用哪个地址
(kotlin gradle)
maven(url = "https://jitpack.io")
maven(url = "https://maven.aliyun.com/repository/central")
maven(url = "https://maven.aliyun.com/repository/public")
maven(url = "https://maven.aliyun.com/repository/gradle-plugin")
maven(url = "https://maven.aliyun.com/repository/apache-snapshots")
(java gradle )
maven{url 'https://maven.aliyun.com/repository/central'}
maven{url 'https://maven.aliyun.com/repository/public'}
maven{url 'https://maven.aliyun.com/repository/gradle-plugin'}
maven{url 'https://maven.aliyun.com/repository/apache-snapshots'}
google {
content {
includeGroupByRegex("com\\.android.*")
includeGroupByRegex("com\\.google.*")
includeGroupByRegex("androidx.*")
}
}
mavenCentral()
gradlePluginPortal()
网友评论