> Configure project :
Fabric Loom: 1.5.8
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to https://docs.gradle.org/8.6/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
FAILURE: Build failed with an exception.
* Where:
Initialization script 'C:\Users\User\AppData\Local\Temp\net_fabricmc_devlaunchinjector_Main_main__2.gradle' line: 89
* What went wrong:
A problem occurred configuring root project 'foodextended'.
> Could not create task ':net.fabricmc.devlaunchinjector.Main.main()'.
> Task with name 'clientJar' not found in root project 'foodextended'.
* 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 1s
18:13:34: Execution finished ':net.fabricmc.devlaunchinjector.Main.main()'.
#for some reason my project wont build
50 messages · Page 1 of 1 (latest)
this happened after i tried to update my project from 1.20.4 to 1.21 and then it stopped working, so i deleted .idea folder and rebuilt it and now it shows this
I advise you to upload the code (e.g. GitHub) so we may take a look
Edit your run config and in the -cp box, make sure you have the right module selected.
which one
client since that's your client run config
it was already selected
what are you doing to get your error?
are you using gradle runClient or the run config?
yeah that should work
well nothing changed
yeah i know, idk why you're getting your error
you can always try running ./gradlew --refresh-dependencies and deleting .gradle
i renamed the folder with the project before, maybe something broke because of this
oh yeah that would be it
you need to delete .gradle
how?
okay
then open and let gradle sync
same error
i will try to update gradle
btw, how do i update loom?
or is it unnecessary
./gradlew --refresh-dependencies didnt help
near the top of build.gradle, you can update to 1.7-SNAPSHOT
but you need to update gradle wrapper first
how
gradle wrapper --gradle-version latest
or
./gradlew wrapper --gradle-version latest
./gradlew wrapper --gradle-version
> Configure project :
Fabric Loom: 1.5.8
FAILURE: Build failed with an exception.
* What went wrong:
Problem configuring task :wrapper from command line.
> No argument was provided for command-line option '--gradle-version' with description: 'The version of the Gradle distribution required by the wrapper. The following labels are allowed: latest, release-candidate, nightly, and release-nightly.'
* Try:
> Run gradlew help --task :wrapper to get task usage details.
> 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 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to https://docs.gradle.org/8.6/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
BUILD FAILED in 1s```
first one doesnt work
you didn't put latest
oh
updated
now what
oh
in gradle
i see
> Configure project :
Fabric Loom: 1.7.1
FAILURE: Build failed with an exception.
* Where:
Initialization script 'C:\Users\User\AppData\Local\Temp\net_fabricmc_devlaunchinjector_Main_main__1.gradle' line: 89
* What went wrong:
A problem occurred configuring root project 'foodextended'.
> Could not create task ':net.fabricmc.devlaunchinjector.Main.main()'.
> Task with name 'clientJar' not found in root project 'foodextended'.
* 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 2s
11:14:33: Execution finished ':net.fabricmc.devlaunchinjector.Main.main()'.```