gradle:secure protocol (like HTTPS) or allow insecure protocols
作者:互联网
最近在编译cruise-control-2.5.92,gradle提示
Using insecure protocols with repositories, without explicit opt-in, has been deprecated. This is scheduled to be removed in Gradle 7.0. Switch Maven repository 'm aven(http://maven.aliyun.com/nexus/content/groups/public/)' to a secure protocol (like HTTPS) or allow insecure protocols. See https://docs.gradle.org/6.8.3/dsl/or g.gradle.api.artifacts.repositories.UrlArtifactRepository.html#org.gradle.api.artifacts.repositories.UrlArtifactRepository:allowInsecureProtocol for more details. Configuration on demand is an incubating feature.
解决方法:
repositories { ... maven { allowInsecureProtocol = true ... } }
标签:protocol,like,insecure,repositories,gradle,HTTPS,protocols,secure 来源: https://www.cnblogs.com/felixzh/p/16287718.html