#Computer Crash on build now prevents any form of gradle usage [FIXED]

2 messages · Page 1 of 1 (latest)

dusty pebble
#

Using IntelliJ. I ran the build gradle task and not sure what happened, but my computer crashed as a result. First time this has ever happen and I've been using this for almost a year now. When I try to run any gradle tasks now it always fails and doesn't produce a log. Any help would be greatly appreciated can't work on this until I figure this out... All I get is this when running any task:

6:30:19 PM: Executing 'build'…


> Configure project :
Fabric Loom: 1.10.5
Previous process has disowned the lock due to abrupt termination.
Found existing cache lock file (ACQUIRED_PREVIOUS_OWNER_DISOWNED), rebuilding loom cache. This may have been caused by a failed or canceled build.

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'mymod-template-1.21.1'.
> Failed to setup Minecraft, java.lang.IllegalArgumentException: No enum constant net.fabricmc.loom.configuration.mods.JarSplitter.Target.⧄⧄⧄⧄

* 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 8s
6:30:28 PM: Execution finished 'build'.
dusty pebble
#

For anyone that runs into a similar problem clearing your Users/User/.gradle/cache folder, running build.gradle and then genSources fixed this for me. If I had to narrow it down something was wrong with the modules-2 folder.