gradle build failed and i have tried some methods like internet connection or deleting files but not working

Started by nghichng2 on

Topic category: Help with MCreator software

Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
gradle build failed and i have tried some methods like internet connection or deleting files but not working

FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'test'.
> Could not resolve all files for configuration ':_compileJava_1'.
 > Could not find net.minecraft:client:1.16.5.
  Searched in the following locations:
  - https://maven.minecraftforge.net/net/minecraft/client/1.16.5/client-1.1…
  - https://maven.minecraftforge.net/net/minecraft/client/1.16.5/client-1.1…
  - https://maven.minecraftforge.net/net/minecraft/client/1.16.5/client-1.1…
  - file:/C:/Users/User/.mcreator/gradle/caches/forge_gradle/bundeled_repo/net/minecraft/client/1.16.5/client-1.16.5.pom
  - file:/C:/Users/User/.mcreator/gradle/caches/forge_gradle/bundeled_repo/net/minecraft/client/1.16.5/client-1.16.5-extra.jar
  - https://libraries.minecraft.net/net/minecraft/client/1.16.5/client-1.16…
  - https://repo.maven.apache.org/maven2/net/minecraft/client/1.16.5/client…
  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
BUILD FAILED in 12s
 
BUILD FAILED
Task completed in 18 seconds

Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This is an error I get…
Tue, 03/22/2022 - 02:08

This is an error I get frequently and it's always a bad internet connection or an firewall issue, because gradle need a perfect and stable connection during download or it corrupts.