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

petercao發表於2019-02-02

 

    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()
    }

 

相關文章