FAILURE: Build failed with an exception.

Started by SHORT on

Topic category: Troubleshooting, bugs, and solutions

Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
FAILURE: Build failed with an exception.

Executing Gradle task: build
Build info: MCreator 2024.3.42716, neoforge-1.21.1, 64-bit, 16370 MB, Windows 10, JVM 21.0.4, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk, started on: 2024-11-25-17:49:15

FAILURE: Build failed with an exception.
* What went wrong:
Directory 'C:\Users\User\MCreatorWorkspaces\fledit' does not contain a Gradle build.
A Gradle build's root directory should contain one of the possible settings files: settings.gradle, settings.gradle.kts, settings.gradle.dcl.It may also contain one of the possible build files: build.gradle, build.gradle.kts, build.gradle.dcl.
To create a new Gradle build in this directory run 'gradle init'
For more information about the 'init' task, please refer to https://docs.gradle.org/8.10.2/userguide/build_init_plugin.html in the Gradle documentation.
For more details on creating a Gradle build, please refer to https://docs.gradle.org/8.10.2/userguide/tutorial_using_tasks.html in the Gradle documentation.
* Try:
> Run gradle init to create a new Gradle build in this directory.
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Get more help at https://help.gradle.org.
BUILD FAILED in 1s

BUILD FAILED
Task completed in 1 second