What do if i have this gradle build error ?

Started by 2013Borysek on

Topic category: Help with modding (Java Edition)

Last seen on 15:54, 10. Apr 2024
Joined Mar 2024

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
What do if i have this gradle build error ?

I need help with error :

Executing Gradle task: eclipse
Build info: MCreator 2021.3.54000, forge-1.16.5, 64-bit, 16331 MB, Windows 10, JVM 16.0.2, JAVA_HOME: C:\Program Files\Pylo\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 'F:\MCreator Projects\PROJEKTY\Ethobot And Friends MOD\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
3 actionable tasks: 2 executed, 1 up-to-date

Task completed in 9 second