Allowing an Insecure Protocol for accessing repository via HTTP

辰
Jun 22, 2021

Recently, Gradle started complaining about an insecure protocol for my maven repositories configured in build.gradle.

repositories {
mavenCentral()
maven {
url "http://nexus..."
}
}

I realized that I can’t change the protocol of the server and I put allowInsecureProtocol true to the configuration.

repositories {
mavenCentral()
maven {
url "http://nexus..."
allowInsecureProtocol true
}
}

--

--