From c3aee1d78c42c0a367051cd7c5421ab38b9d25fe Mon Sep 17 00:00:00 2001 From: Technici4n <13494793+Technici4n@users.noreply.github.com> Date: Mon, 11 Nov 2024 10:57:48 +0100 Subject: [PATCH] Fix settings for Eclipse on Windows --- settings.gradle | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/settings.gradle b/settings.gradle index 85bd15fe8f..aff93fdd4c 100644 --- a/settings.gradle +++ b/settings.gradle @@ -25,7 +25,10 @@ dependencyResolutionManagement { } } -rootProject.name = rootDir.name +if (rootProject.name.toLowerCase() == "neoforge") { + // Solve name clashes between projects/neoforge and the rootProject for Eclipse. + rootProject.name = "NeoForge-Root" +} include ':base' project(':base').projectDir = file('projects/base')