Android Studio 配置多个代码仓库(maven)

repositories {
mavenCentral()
maven { url "https://jitpack.io" }
maven { url "http://maven.aliyun.com/nexus/content/groups/public/" }
maven { url 'http://maven.oschina.net/content/groups/public/' } 
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' } 
maven { url "http://maven.springframework.org/release" } 
maven { url "http://maven.restlet.org" } 
maven { url "http://mirrors.ibiblio.org/maven2" }
maven {
    url "http://repo.baichuan-android.taobao.com/content/groups/BaichuanRepositories/"
}
maven { url 'https://maven.fabric.io/public' }
jcenter()
google()
}

第一种方法

使用开源中国的maven库

  repositories {
    maven{url 'http://maven.aliyun.com/nexus/content/groups/public/'}
}

你可能感兴趣的:(Android Studio 配置多个代码仓库(maven))