Whenever i try to do the "gradlew genEclipseRuns" It shows this:
C:\Users\User\Desktop\Mod attempt>gradlew genEclipseRuns
To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/7.4.2/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build
> Configure project :
Java: 17.0.5, JVM: 17.0.5+8 (Eclipse Adoptium), Arch: amd64
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
-----------
* Where:
Build file 'C:\Users\User\Desktop\Mod attempt\build.gradle' line: 15
* What went wrong:
A problem occurred evaluating root project 'Mod attempt'.
> No signature of method: build_6fwm4aljxguf75efifp5ovbqi.minecraft() is applicable for argument types: (build_6fwm4aljxguf75efifp5ovbqi$_run_closure1) values: [build_6fwm4aljxguf75efifp5ovbqi$_run_closure1@4f13485f]
* 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.
==============================================================================
2: Task failed with an exception.
-----------
* What went wrong:
A problem occurred configuring root project 'Mod attempt'.
> Missing 'minecraft' dependency.
* 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
BUILD FAILED in 7s
This is my code:
Not sure whats wrong but ChatGPT is prob outdated so I would rather ask here.