Jump to content

Failure to build gradle with VScode


JavamilesIII

Recommended Posts

Hello
I tried to start modding, but there was an error with the build of gradle. Can you help me?
This is the error:
 

FAILURE: Build failed with an exception.

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

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.5.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 7m 52s

Link to comment
Share on other sites

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.



×
×
  • Create New...

Important Information

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