因为一直拉不到想要的包 , 添加阿里的仓库后 提示错误:
Using insecure protocols with repositories, without explicit opt-in,
查资料发现好像是协议更新了 .阿里也更新了新地址
新地址:
repositories {
maven { url 'https://maven.aliyun.com/repository/public' }
maven { url 'https://maven.aliyun.com/repository/public' }
maven { url 'https://maven.aliyun.com/repository/google' }
maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
google()
mavenCentral()
}
阿里新老仓库更换对比
https://maven.aliyun.com/mvn/guide