suppender
9/8/2017 - 9:38 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/'}
    }
}