Jump to content

[1.16.5] Could not find mappings_official-1.16.5.zip


Recommended Posts

Posted (edited)

Recently updated my IntelliJ IDEA, and the project imported just fine.
Then out of the blue, the gradle refresh fails:

  Reveal hidden contents

This was unexpected, as literally no problems were happening before this.
build.gradle:

  Reveal hidden contents

Upon clicking the url of the location searched, I get this: [Screenshot]

  Reveal hidden contents

I have tried manually specifying different gradle versions, Java versions for gradle, and reimported the project several times (deleting the idea project entirely) with the exact same result.
 

Edit:
Probably has something to do with the migration of files.minecraftforge.net/maven to maven.minecraftforge.net

Edited by Vinyarion

Have you ever want the new operator to return a type that you didn't ask for? Well, now you can!

Posted (edited)

Well, that was anticlimactic.
New build.gradle:
 

buildscript {
    repositories {
        maven { url = 'https://maven.minecraftforge.net' }
//        maven { url = 'https://files.minecraftforge.net/maven' }
        mavenCentral()
    }
    dependencies {
        classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '4.1.+', changing: true
    }
}
apply plugin: 'net.minecraftforge.gradle'
// Only edit below this line, the above code adds and enables the necessary things for Forge to be setup.
.
.
.
rest of file as normal

So much for not editing above the line.

BUILD SUCCESSFUL in 14s

 

Edited by Vinyarion

Have you ever want the new operator to return a type that you didn't ask for? Well, now you can!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.