Gradle Task Failed

Started by lptt71 on

Topic category: Help with MCreator software

Joined Mar 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Gradle Task Failed

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!

Joined Mar 2017
Points:

User statistics:

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

Please help me !!!

Joined Feb 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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...>:(

Joined Feb 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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

 

Joined Apr 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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

Joined Apr 2017
Points:

User statistics:

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

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

Joined Apr 2017
Points:

User statistics:

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

taskill all java.exe or something like at the setup