使用 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'}
}