Gradle task Failed

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

I just installed MCreator and found that there is a Gradle Task Failed and I dont know what to do.

 

The error log:
Executing gradle command: cleanCache clean setupDecompWorkspace --refresh-dependencies
Microsoft Windows [Version 10.0.16299.431]
(c) 2017 Microsoft Corporation. All rights reserved.
C:\Pylo\MCreator179>cd forge
C:\Pylo\MCreator179\forge>SET "JAVA_HOME=C:\Pylo\MCreator179\jdk\"
C:\Pylo\MCreator179\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Pylo\MCreator179\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Pylo\MCreator179\forge>SET "GRADLE_USER_HOME=C:\Users\Isaiah\.mcreator\gradle"
C:\Pylo\MCreator179\forge>gradlew -Dorg.gradle.daemon=false -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs="-Xms625m -Xmx2048m" cleanCache clean setupDecompWorkspace --refresh-dependencies 
This mapping 'snapshot_20171003' was designed for MC 1.12! Use at your own peril.
#################################################
         ForgeGradle 2.3-SNAPSHOT-4a7d623        
  https://github.com/MinecraftForge/ForgeGradle  
#################################################
                 Powered by MCP                  
             http://modcoderpack.com             
     by: Searge, ProfMobius, R4wk, ZeuX          
     Fesh0r, IngisKahn, bspkrs, LexManos         
#################################################
:cleanCache FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':cleanCache'.
> Unable to delete directory: C:\Users\Isaiah\.mcreator\gradle\caches\minecraft\net\minecraft\natives\1.12.2\com\google\common
* 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: 18.974 secs
C:\Pylo\MCreator179\forge>
Task completed with return code 0 in 19486 milliseconds

Issue comments

There are many similar issues on the tracker. You simply need to manually remove folder C:\Users\Isaiah\.mcreator\gradle\caches\. To do so, go to C:\Users\Isaiah\.mcreator\gradle and inside this folder select and remove directory called caches.

how do you go to the file? i am having the same problem but i have no idea what my username is (im on a lenovo laptop windows 10) and it's saying windows can't find it. i really want to make a mod, but this is getting on my nerves and i can't figure it out.



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.