Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using insecure protocols with repositories has been deprecated #(http://4thline.org/m2) #259

Open
iamfaizzy opened this issue Mar 1, 2023 · 1 comment

Comments

@iamfaizzy
Copy link

Using insecure protocols with repositories has been deprecated. This is scheduled to be removed in Gradle 7.0. Switch Maven repository 'maven5(http://4thline.org/m2)' to a secure protocol (like HTTPS) or allow insecure protocols. See https://docs.gradle.org/6.5/dsl/org.gradle.api.artifacts.repositories.UrlArtifactRepository.html#org.gradle.api.artifacts.repositories.UrlArtifactRepository:allowInsecureProtocol for more details.

How can we use https: as this is not available ?

rignt now we can opt allowInsecureProtocol =true but in future it might not be a solution

any suggestion?

@iamfaizzy iamfaizzy changed the title Using insecure protocols with repositories has been deprecated Using insecure protocols with repositories has been deprecated #(http://4thline.org/m2) Mar 1, 2023
@nbonamy
Copy link

nbonamy commented May 27, 2023

You need to use the allowInsecureProtocol option:

maven {
  allowInsecureProtocol true
  url "http://4thline.org/m2"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants