Gradle task failed

Published by kalesuplay on
Status
Fixed
Issue description

   
Executing gradle command: cleanCache clean setupDecompWorkspace --refresh-dependencies
Build info: MCreator 1.8.1, 64-bit, 4094 MB, Windows 10 - cmd, JVM 1.8.0_172, JAVA_HOME: C:\Pylo\MCreator181\.\jdk
(c) Љ®аЇ®а жЁп Њ ©Єа®б®дв (Microsoft Corporation), 2018. ‚ᥠЇа ў  § йЁйҐ­л.
C:\Pylo\MCreator181\forge>gradlew -Dorg.gradle.daemon=false -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs="-Xms625m -Xmx2048m" cleanCache clean setupDecompWorkspace --refresh-dependencies 
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'forge'.
> Could not resolve all dependencies for configuration ':classpath'.
> Could not resolve net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT.
     Required by:
         :forge:unspecified
> Could not resolve net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT.
> Could not parse POM http://files.minecraftforge.net/maven/net/minecraftforge/gradle/ForgeGr…
> Could not read 'http://files.minecraftforge.net/maven/net/minecraftforge/gradle/ForgeGr….
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 24.599 secs
Picked up _JAVA_OPTIONS: -Xmx1000m
C:\Pylo\MCreator181\forge>
Task completed with return code 0 in 27866 milliseconds

Issue comments

The error you provided can be caused by any of these causes:

  • No internet connection
  • Slow internet connection
  • Firewall (on the computer, router or modem) blocking MCreator
  • AV blocking MCreator
  • ISP blocking MCreator or domains it is trying to access

Try to access one of the URLs in the log from the browser. If you can not access these files there too, it is an issue in general, otherwise, you can assume only MCreator got blocked when trying to access these files.