My Gradle Project for my Minecraft mod isn't building.
Terminal:
* Where:
Settings file 'C:\Users\csonn\OneDrive\Desktop\fusionlucky\settings.gradle' line: 2
* What went wrong:
Could not compile settings file 'C:\Users\csonn\OneDrive\Desktop\fusionlucky\settings.gradle'.
> startup failed:
 settings file 'C:\Users\csonn\OneDrive\Desktop\fusionlucky\settings.gradle': 2: The pluginManagement {} block must appear before any other statements in the script.
 For more information on the pluginManagement {} block, please refer to https://docs.gradle.org/9.0.0/userguide/plugins.html#sec:plugin_management in the Gradle documentation.
  @ line 2, column 1.
   pluginManagement {
   ^
 1 error
* 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 generate a Build Scan (Powered by Develocity).
> Get more help at https://help.gradle.org.
Â
Setting.Gradle File:
Â
rootProject.name = 'fusion-lucky-block'
pluginManagement {
  repositories {
    gradlePluginPortal()
    maven { url "https://maven.minecraftforge.net/" }
    mavenCentral()
  }
}
By
Fairygamer03 · Posted