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 ... } }
欢迎关注微信公众号:大数据从业者