suppender of AndroidStudy
8/22/2017 - 8:58 AM

gradle镜像更新

gradle镜像更新

//修改项目根目录下的文件 build.gradle 
buildscript {
    repositories {
        maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'}
    }
}

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

//osc镜像:
allprojects {
    repositories {
        maven{ url 'http://maven.oschina.net/content/groups/public/'}
    }
}