Gradle Build Failed

Started by Wh0C4res on

Topic category: Troubleshooting, bugs, and solutions

Joined Apr 2018
Points:

User statistics:

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

Hello, I had to repost this topic because my old one just never got responded to.

So basically I cannot create any mod because whenever Gradle is running a task it just fails. I already tried fully installing MCreator and all its files aswell as testing it on a blank workspace but nothing helped.

Am I the only one with this issue or why is there noone else posting about this?

 

Error: 

Executing Gradle task: eclipse
Build info: MCreator 2021.2.36710, forge-1.16.5, 64-bit, 8117 MB, Windows 10, JVM 11.0.11, JAVA_HOME: E:\mcreatorr\MCreator\jdk
> Task :downloadMcpConfig
> Task :extractSrg UP-TO-DATE
> Task :createSrgToMcp FAILED
FAILURE: Build failed with an exception.
* What went wrong:
A problem was found with the configuration of task ':createSrgToMcp' (type 'GenerateSRG').
 - In plugin 'net.minecraftforge.gradle' type 'net.minecraftforge.gradle.mcp.tasks.GenerateSRG' property 'srg' specifies file 'E:\mcreatormods\build\extractSrg\output.srg' which doesn't exist.
 
 Reason: An input file was expected to be present but it doesn't exist.
 
 Possible solutions:
  1. Make sure the file exists before the task is called.
  2. Make sure that the task which produces the file is declared as an input.
 
 Please refer to https://docs.gradle.org/7.1.1/userguide/validation_problems.html#input_… for more details about this problem.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.1.1/userguide/command_line_interface.html#sec…
BUILD FAILED in 9s
3 actionable tasks: 2 executed, 1 up-to-date
BUILD FAILED
Task completed in 9 seconds

Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
ok i have teh same issue
Wed, 11/10/2021 - 18:56

ok i have teh same issue