Posted November 5, 20232 yr After a long hiatus in modding I'm updating a mod to 1.20.1. After downloading the appropriate Forge MDK and upgrading to Java 17 (through Adoptium JDK), I'm attempting to download sources but encounter this error: Spoiler Caused by: org.gradle.internal.resolve.ModuleVersionNotFoundException: Cannot resolve external dependency net.minecraftforge:mergetool:1.1.7 because no repositories are defined. I've double checked that my system variables are correct and that the Intellij gradle JVM is pointing to the new Java version. This is likely a simple fix that's eluding me. Below are my build.gradle and settings.gradle. Any help is appreciated. build.gradle settings.gradle Edited November 5, 20232 yr by urbanxx001 Solved issue
November 5, 20232 yr Author Figured it out, just had to add the following to the repositories: mavenCentral() Strange that it isn't there by default. Edited November 5, 20232 yr by urbanxx001
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.