Gradle Task Failed

Started by lptt71 on Wed, 03/22/2017 - 13:17
Last seen on 14:13, 22. Mar 2017
Joined Mar 2017
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Gradle Task Failed
Wed, 03/22/2017 - 13:17

Hello!

I have a bug when i lanch MCreator for the first time

The error :

   
Executing gradle command: cleanCache clean setupDecompWorkspace --refresh-dependencies
Microsoft Windows [version 10.0.14393]
(c) 2016 Microsoft Corporation. Tous droits r‚serv‚s.
C:\Pylo\MCreator175>cd forge
C:\Pylo\MCreator175\forge>SET "JAVA_HOME=C:\Pylo\MCreator175\jdk64\"
C:\Pylo\MCreator175\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Pylo\MCreator175\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Pylo\MCreator175\forge>gradlew -Dorg.gradle.jvmargs="-Xms625m -Xmx2048m" cleanCache clean setupDecompWorkspace --refresh-dependencies 
This mapping 'snapshot_20161220' was designed for MC 1.11! Use at your own peril.
#################################################
         ForgeGradle 2.2-SNAPSHOT-2112b0a        
  https://github.com/MinecraftForge/ForgeGradle  
#################################################
               Powered by MCP unknown               
             http://modcoderpack.com             
         by: Searge, ProfMobius, Fesh0r,         
         R4wk, ZeuX, IngisKahn, bspkrs           
#################################################
:cleanCache
:clean UP-TO-DATE
:deobfCompileDummyTask
:deobfProvidedDummyTask
:getVersionJson
:extractUserdev
:extractDependencyATs SKIPPED
:extractMcpData
FAILURE: Build failed with an exception.
* What went wrong:
Could not resolve all dependencies for configuration ':forgeGradleMcpMappings'.
> Could not resolve de.oceanlabs.mcp:mcp_snapshot:20161220-1.11.
  Required by:
      com.yourname.modid:forge:1.0
> Could not resolve de.oceanlabs.mcp:mcp_snapshot:20161220-1.11.
> Could not parse Ivy file C:\Users\dghfd\.gradle\caches\modules-2\metadata-2.16\descriptors\de.oceanlabs.mcp\mcp_snapshot\20161220-1.11\58d026f73bd51b2d7316bd092d31aca0\ivy.xml
> Content is not allowed in prolog.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
:extractMcpMappings
BUILD FAILED
Total time: 47.603 secs
C:\Pylo\MCreator175\forge>
Task completed with return code 0 in 51926 milliseconds

 

 

 

Thanks!

Last seen on 14:13, 22. Mar 2017
Joined Mar 2017
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Please help me !!!
Wed, 03/22/2017 - 13:18

Please help me !!!

Last seen on 21:07, 17. Sep 2018
Joined Feb 2017
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Same error, I have sent
Sat, 03/25/2017 - 13:28

Same error, I have sent complaints to Mcreator workers and they ignore my messages...>:(

Last seen on 18:49, 24. Feb 2018
Joined Feb 2018
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
im having the same problem…
Sat, 02/24/2018 - 18:51

im having the same problem posted i as well and im really hoping i will find it its so annoying

 

Last seen on 11:05, 27. Aug 2018
Joined Apr 2017
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Same problem.     Executing…
Sun, 08/26/2018 - 22:21

Same problem.

   
Executing gradle command: cleanCache clean setupDecompWorkspace --refresh-dependencies
Microsoft Windows [version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. Tous droits r‚serv‚s.
C:\Pylo\MCreator174>cd forge
C:\Pylo\MCreator174\forge>SET "JAVA_HOME=C:\Pylo\MCreator174\jdk64\"
C:\Pylo\MCreator174\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Pylo\MCreator174\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Pylo\MCreator174\forge>gradlew -Dorg.gradle.jvmargs="-Xms625m -Xmx2048m" cleanCache clean setupDecompWorkspace --refresh-dependencies
#################################################
         ForgeGradle 2.2-SNAPSHOT-9bc34b4        
  https://github.com/MinecraftForge/ForgeGradle  
#################################################
               Powered by MCP unknown               
             http://modcoderpack.com             
         by: Searge, ProfMobius, Fesh0r,         
         R4wk, ZeuX, IngisKahn, bspkrs           
#################################################
:cleanCache FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':cleanCache'.
> Unable to delete file: C:\Users\NaNonnI\.gradle\caches\minecraft\net\minecraft\minecraft_merged\1.10.2\minecraft_merged-1.10.2.jar
* 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: 53.745 secs
C:\Pylo\MCreator174\forge>
Task completed with return code 0 in 55916 milliseconds

Last seen on 11:05, 27. Aug 2018
Joined Apr 2017
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
don't open minecraft at the…
Sun, 08/26/2018 - 22:30

don't open minecraft at the same time of the setup.

Last seen on 11:05, 27. Aug 2018
Joined Apr 2017
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
taskill all java.exe or…
Sun, 08/26/2018 - 22:31

taskill all java.exe or something like at the setup

Last seen on 10:36, 25. Sep 2018
Joined Apr 2010
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
  • wiki contributor
  • moderator
  • developer
You can find extensive help…
Mon, 08/27/2018 - 16:53

You can find extensive help on this issue on this page: https://mcreator.net/tracker/issue/41162 Next time, try to use search to find useful information.