Closed modmuss50 closed 8 months ago
A workaround for this is to add maven central as an artifact url like so:
repositories.named("Mojang", MavenArtifactRepository) {
artifactUrls ArtifactRepositoryContainer.MAVEN_CENTRAL_URL
}
Loom should do the same when registering the Mojang repo.
The latest intelij update has broken downloading the sources of libraries hosted on Mojang's maven server. This is because Gradle/Intelij try to download the sources from the same maven repo that provided the library jar. Mojang does not rehost the -sources.jar.
Possible workarounds that loom can do:
Error: