gradle repo conf - maven-central.storage-download.googleapis.com

2021-06-16 12:03

阅读:898

标签:conf   group   com   mave   epo   gradle   aliyun   cal   http   

 

    repositories {
        google()
        jcenter()
        maven { // The google mirror is less flaky than mavenCentral()
         url "https://maven-central.storage-download.googleapis.com/repos/central/data/"
            // 添加备用地址 
            artifactUrls "https://maven.aliyun.com/repository/public/"
//         artifactUrls "http://maven.aliyun.com/nexus/content/groups/public/"
        }
        // 添加中央仓库
        mavenCentral()
        mavenLocal()
    }

 

gradle repo conf - maven-central.storage-download.googleapis.com

标签:conf   group   com   mave   epo   gradle   aliyun   cal   http   

原文地址:https://www.cnblogs.com/bluestorm/p/10348207.html


评论


亲,登录后才可以留言!