jitpack.io 錯誤提示 handshake_failure 開發

使用 jitpack.io 倉庫 提示錯誤

原來配置

maven { url "http://jitpack.io" }

經過多天查找問題  修改 tls也不行 總之折騰啊

 

後來無意發現  增加一個www問題居然解決了

maven { url "http://www.jitpack.io" }

 

感嘆java開發的地雷天坑有多麼令人無語

 

def addRepos(RepositoryHandler handler) {
    handler.jcenter()
    handler.google()
    handler.mavenCentral()
    
    //jitpack.io 添加一個www
    handler.maven { url "http://www.jitpack.io" }
    handler.maven { url "https://dl.bintray.com/umsdk/release" }

    //Add the aliyun repository
    handler.maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'}
    //Add the Local repository
    handler.maven{ url 'LocalRepository'}
}
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章