万能大法
以后只要创建项目就采用万能大法
1.Root build.gradle
repositories {
google()
maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'}
maven{url 'https://maven.aliyun.com/repository/jcenter'}
}
allprojects {
repositories {
google()
mavenCentral()
maven { url "https://jitpack.io" }
maven{url 'https://maven.aliyun.com/repository/jcenter'}
maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'}
}
}