Jump to content

Could not resolve all files for configuration ':runtimeClasspathCopy'.


Recommended Posts

Posted

G'day,

I'm trying to prepare eclipse and forge so that I can write a small plugin. I'm following https://docs.minecraftforge.net/en/1.16.x/gettingstarted/ as well as https://www.youtube.com/watch?v=CwEFlV6tPcQ, but in the many times I have run gradlew genEclipseRuns in the command prompt from the correct directory, I get this:

FAILURE: Build failed with an exception.

* What went wrong:
Could not resolve all files for configuration ':runtimeClasspathCopy'.
> Could not find net.minecraftforge:forge:1.16.5-36.2.39_mapped_official_1.16.5.
  Searched in the following locations:
    - file:/C:/Users/Jack Harrington/.gradle/caches/forge_gradle/bundeled_repo/net/minecraftforge/forge/1.16.5-36.2.39_mapped_official_1.16.5/forge-1.16.5-36.2.39_mapped_official_1.16.5.pom
    - file:/C:/Users/Jack Harrington/.gradle/caches/forge_gradle/bundeled_repo/net/minecraftforge/forge/1.16.5-36.2.39_mapped_official_1.16.5/forge-1.16.5-36.2.39_mapped_official_1.16.5.jar
  Required by:
      project :

I have noticed that there is not a bundeled_repo folder in forge_gradle by default, but there is a forge-1.16.5-36.2.39_mapped_ official_1.16.5.pom under minecraft_user_repo instead. If I copy this file to a folder called bundeled_repo that I create (including the child directories), the error still appears.

The video I mentioned suggests to run gradlew genEclipseRuns --refresh-dependencies&&gradlew eclipse, but that throws the exact same error.

 

There will be a sister post on the gradle forums asking the same question.

If you need anything else just ask.

Thanks.

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

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