Gradle build errors

Started by HummingbirdX on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 10:12, 6. Mar 2022
Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Gradle build errors

I tried both method 1 and method 2, but I still get an error.

The diary is as follows:

Executing Gradle task: setupDecompWorkspace --refresh-dependencies

Build info: MCreator 2020.2.14217, 1.12.2, 64-bit, 4064 MB, Windows 10, JVM 1.8.0_232, JAVA_HOME: D:\program files\MCMODS\MCreator\jdk

Download http://files.minecraftforge.net/maven/net/minecraftforge/gradle/ForgeGradle/2.3-SNAPSHOT/ForgeGradle-2.3-20190910.005614-43.jar

FAILURE: Build failed with an exception.

* What went wrong:

A problem occurred configuring root project 'redworld'.

> Could not resolve all files for configuration ':classpath'.

   > Could not download ForgeGradle.jar (net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT)

      > Could not get resource 'http://files.minecraftforge.net/maven/net/minecraftforge/gradle/ForgeGradle/2.3-SNAPSHOT/ForgeGradle-2.3-20190910.005614-43.jar'.

         > Read timed out

* 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 3m 40s

BUILD FAILED

Task completed in 226200 milliseconds

 

Last seen on 10:12, 6. Mar 2022
Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ok, I get it.
Thu, 11/12/2020 - 03:52

Ok, I get it.