MCreator cannot do gradlew tasks.

Status
Duplicate
Type
Product/platform
Not applicable
Priority
Normal
Issue description

   
Executing gradle command: wrapper --gradle-version 4.4
Build info: MCreator 1.8.2, 64-bit, 6056 MB, Windows 7 - cmd, JVM 1.8.0_192, JAVA_HOME: C:\Pylo\MCreator182\.\jdk
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
C:\Pylo\MCreator182\forge>gradlew -Dorg.gradle.daemon=false -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs="-Xms625m -Xmx2048m" wrapper --gradle-version 4.4 
FAILURE: Build failed with an exception.
* Where:
Build file 'C:\Pylo\MCreator182\forge\build.gradle' line: 24
* What went wrong:
A problem occurred evaluating root project 'forge'.
> No such version exists!
* 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: 9.094 secs
C:\Pylo\MCreator182\forge>
Task completed with return code 0 in 9923 milliseconds
   
Executing gradle command: wrapper --gradle-version 4.4
Build info: MCreator 1.8.2, 64-bit, 6056 MB, Windows 7 - cmd, JVM 1.8.0_192, JAVA_HOME: C:\Pylo\MCreator182\.\jdk
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
C:\Pylo\MCreator182\forge>gradlew -Dorg.gradle.daemon=false -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs="-Xms625m -Xmx3072m" wrapper --gradle-version 4.4 
FAILURE: Build failed with an exception.
* Where:
Build file 'C:\Pylo\MCreator182\forge\build.gradle' line: 24
* What went wrong:
A problem occurred evaluating root project 'forge'.
> No such version exists!
* 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: 7.865 secs
C:\Pylo\MCreator182\forge>
Task completed with return code 0 in 8617 milliseconds
   
Executing gradle command: wrapper --gradle-version 4.4
Build info: MCreator 1.8.2, 64-bit, 6056 MB, Windows 7 - cmd, JVM 1.8.0_192, JAVA_HOME: C:\Pylo\MCreator182\.\jdk
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
C:\Pylo\MCreator182\forge>gradlew -Dorg.gradle.daemon=false -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs="-Xms3072m -Xmx3072m" wrapper --gradle-version 4.4 
FAILURE: Build failed with an exception.
* Where:
Build file 'C:\Pylo\MCreator182\forge\build.gradle' line: 24
* What went wrong:
A problem occurred evaluating root project 'forge'.
> No such version exists!
* 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: 7.195 secs
C:\Pylo\MCreator182\forge>
Task completed with return code 0 in 7650 milliseconds

Issue comments

The fix for this is the following:

  1. Go to your user folder and in this folder, go to a folder called .mcreator. In this folder, delete a folder called gradle
  2. Reboot your computer
  3. Run MCreator again

If this does not help, try the following:

  1. Go to your user folder and in this folder, go to folder called .mcreator. In this folder, delete a folder called gradle
  2. Completely reinstall MCreator
  3. Run the setup again

This issue was caused by an outdated repository that was in use by Minecraft Forge and their development gradle toolkit needs to be updated.

More info in this forum topic: https://mcreator.net/forum/47021/mcreator-cant-install



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.