Reputation: 11
I am trying to use gradle to decompile forge (for some minecraft modding), when Building though it requests files from http://repo1.maven.org/maven2
, but since Jan 2020 the download section has switched to https://repo1.maven.org/maven2
. Is there any way I can fix this?
Thanks!
Upvotes: 1
Views: 80
Reputation: 16338
I assume you use an old Gradle version and your build configuration has mavenCentral()
as one of its repositories? In that case you can replace mavenCentral()
with the following:
maven {
url 'https://repo1.maven.org/maven2'
}
Upvotes: 1