Build file ‘project\build.gradle’ line: 14
A problem occurred evaluating root project ‘riskauth’.
Applying script plugins from insecure URIs, without explicit opt-in, is unsupported. The provided URI XXX’ uses an insecure protocol (HTTP). Use ‘XXX’ instead or try ‘apply from: resources.text.fromInsecureUri(“XXX”)’ to fix this. See https://docs.gradle.org/7.1/dsl/org.gradle.api.resources.TextResourceFactory.html#org.gradle.api.resources.TextResourceFactory:fromInsecureUri(java.lang.Object) for more details.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
字面意思就是不支持不安全的链接,实际上是我的IDEA自带的gradle不支持。
解决方法:gradle-6.5.1-all.zip资源免费百度网盘下载永久有效
链接:https://pan.baidu.com/s/1XYvl6hwWKXHC_J7SfQNzCA
提取码:wcjp
自己安装一个,配置好idea即可。安装教程移步其他大神
————————————————
版权声明:本文为CSDN博主「pcOnline_TT」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/pcOnline_TT/article/details/120826674