Loading

使用 allowInsecureProtocol 属性解决 gradle 的仓库地址不安全警告

只需要在你的 init.gradle 文件中或者 build.gradle 中进行如下的配置即可:

maven { 
  allowInsecureProtocol = true
  url = "http://***/repository/maven-public/" 
}
posted @ 2021-08-26 16:20  IT搬瓦工  阅读(2370)  评论(0编辑  收藏  举报