Hi, I've been wondering why gradle is using <https...
# community-support
a
Hi, I've been wondering why gradle is using https://repo.maven.apache.org/maven2/ (https://github.com/gradle/gradle/blob/master/subprojects/core-api/src/main/java/org/gradle/api/artifacts/ArtifactRepositoryContainer.java#L54) as default url for maven central while apache declares that it is not the proper url and
<https://repo1.maven.org/maven2>
(https://central.sonatype.org/consume/) should be used instead.
v
Who knows whether those docs are up-to-date. They also state that Gradle is using http in the built-in MC URL which is non-sense: https://central.sonatype.org/consume/consume-gradle
The commit actually changed from that URL to the current URL stating that the new one is the canonical one: https://github.com/gradle/gradle/commit/c7553999b0cc1dadc471c8951a68e2b4270ab4b0
Here the PR with links to info that state that the canonical URL changed: https://github.com/gradle/gradle/pull/3464
a
We got some information from ASF about repo.maven.apache.org not being the correct one. I will ask if they can maybe bring some guidance as there is a lot of conflicting information
👌 1