Gradle Task Failed

Status
Fixed
Type
Product/platform
MCreator/Windows
Priority
Normal
Issue description

I got this error when It was Setting up Minecraft Forge MDK

Plz help me

 Log from the console

   
Executing gradle command: cleanCache clean setupDecompWorkspace --refresh-dependencies
Build info: MCreator 1.8.1, 64-bit, 8162 MB, Windows 10 - cmd, JVM 1.8.0_172, JAVA_HOME: C:\Pylo\MCreator181\.\jdk
C:\Pylo\MCreator181\forge>gradlew -Dorg.gradle.daemon=false -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs="-Xms625m -Xmx2048m" cleanCache clean setupDecompWorkspace --refresh-dependencies 
Downloading https://services.gradle.org/distributions/gradle-2.14-bin.zip
...........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Unzipping C:\Users\User1\.mcreator\gradle\wrapper\dists\gradle-2.14-bin\76oc0mnc3ieqtsukq90mp0rxk\gradle-2.14-bin.zip to C:\Users\User1\.mcreator\gradle\wrapper\dists\gradle-2.14-bin\76oc0mnc3ieqtsukq90mp0rxk
Download http://files.minecraftforge.net/maven/net/minecraftforge/gradle/ForgeGr…
Download https://jcenter.bintray.com/com/google/guava/guava/18.0/guava-18.0.pom
Download https://jcenter.bintray.com/com/google/guava/guava-parent/18.0/guava-pa…
Download https://jcenter.bintray.com/org/sonatype/oss/oss-parent/7/oss-parent-7…
Download https://jcenter.bintray.com/net/sf/opencsv/opencsv/2.3/opencsv-2.3.pom
Download https://jcenter.bintray.com/com/cloudbees/diff4j/1.1/diff4j-1.1.pom
Download https://jcenter.bintray.com/com/cloudbees/cloudbees-oss-parent/1/cloudb…
Download https://jcenter.bintray.com/com/github/abrarsyed/jastyle/jAstyle/1.3/jA…
Download https://jcenter.bintray.com/net/sf/trove4j/trove4j/2.1.0/trove4j-2.1.0…
Download https://jcenter.bintray.com/com/github/jponge/lzma-java/1.3/lzma-java-1…
Download https://jcenter.bintray.com/com/nothome/javaxdelta/2.0.1/javaxdelta-2.0…
Download https://jcenter.bintray.com/com/google/code/gson/gson/2.2.4/gson-2.2.4…
Download https://jcenter.bintray.com/com/github/tony19/named-regexp/0.2.3/named-…
Download http://files.minecraftforge.net/maven/net/minecraftforge/forgeflower/1…
Download https://jcenter.bintray.com/org/apache/httpcomponents/httpclient/4.3.3/…
Download https://jcenter.bintray.com/org/apache/httpcomponents/httpcomponents-cl…
Download https://jcenter.bintray.com/org/apache/httpcomponents/project/7/project…
Download https://jcenter.bintray.com/org/apache/apache/13/apache-13.pom
Download https://jcenter.bintray.com/org/apache/httpcomponents/httpmime/4.3.3/ht…
Download https://jcenter.bintray.com/org/jvnet/localizer/localizer/1.12/localize…
Download https://jcenter.bintray.com/org/jvnet/localizer/localizer-parent/1.12/l…
Download https://jcenter.bintray.com/commons-io/commons-io/1.4/commons-io-1.4.pom
Download https://jcenter.bintray.com/org/apache/commons/commons-parent/7/commons…
Download https://jcenter.bintray.com/org/apache/apache/4/apache-4.pom
Download https://jcenter.bintray.com/trove/trove/1.0.2/trove-1.0.2.pom
Download https://jcenter.bintray.com/org/apache/httpcomponents/httpcore/4.3.2/ht…
Download https://jcenter.bintray.com/org/apache/httpcomponents/httpcomponents-co…
Download https://jcenter.bintray.com/commons-logging/commons-logging/1.1.3/commo…
Download https://jcenter.bintray.com/org/apache/commons/commons-parent/28/common…
Download https://jcenter.bintray.com/commons-codec/commons-codec/1.6/commons-cod…
Download https://jcenter.bintray.com/org/apache/commons/commons-parent/22/common…
Download https://jcenter.bintray.com/org/apache/apache/9/apache-9.pom
Download http://files.minecraftforge.net/maven/net/minecraftforge/gradle/ForgeGr…
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 download ForgeGradle.jar (net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT)
> Could not close resource 'http://files.minecraftforge.net/maven/net/minecraftforge/gradle/ForgeGr…'.
> Premature end of Content-Length delimited message body (expected: 12535762; received: 12522951
* 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: 12 mins 55.928 secs
C:\Pylo\MCreator181\forge>
Task completed with return code 0 in 777089 milliseconds
   
Executing gradle command: cleanCache clean setupDecompWorkspace --refresh-dependencies
Build info: MCreator 1.8.1, 64-bit, 8162 MB, Windows 10 - cmd, JVM 1.8.0_172, JAVA_HOME: C:\Pylo\MCreator181\.\jdk
C:\Pylo\MCreator181\forge>gradlew -Dorg.gradle.daemon=false -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs="-Xms625m -Xmx2048m" cleanCache clean setupDecompWorkspace --refresh-dependencies 
Download http://files.minecraftforge.net/maven/net/minecraftforge/gradle/ForgeGr…
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 download ForgeGradle.jar (net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT)
> Could not close resource 'http://files.minecraftforge.net/maven/net/minecraftforge/gradle/ForgeGr…'.
> Premature end of Content-Length delimited message body (expected: 12535762; received: 3896359
* 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: 6 mins 7.663 secs
C:\Pylo\MCreator181\forge>
Task completed with return code 0 in 368015 milliseconds

Attachment Size
Mc error.png712.26 KB 712.26 KB

Issue comments

Minecraft Forge servers did not respond at the time you were installing MCreator. It could be your Firewall or Antivirus too, so make sure they don't obstruct MCreator. After you do this, uninstall MCreator and install it again.



Donate to MCreator

By donating to developers you can speed up development, as with more resources, we can dedicate more time to MCreator. It is a free project made by developers working on it in their free time.