From 00877defe37006be516c4b4293e93c6f779557f3 Mon Sep 17 00:00:00 2001 From: Bruno Ploumhans <13494793+Technici4n@users.noreply.github.com> Date: Mon, 11 Nov 2024 13:35:26 +0100 Subject: [PATCH] Fix root project name for Eclipse on Windows (#1682) Co-authored-by: Marc Hermans --- settings.gradle | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/settings.gradle b/settings.gradle index 74b177945e1..4049a3edc6f 100644 --- a/settings.gradle +++ b/settings.gradle @@ -10,7 +10,10 @@ plugins { id 'net.neoforged.gradle.platform' version '7.0.163' } -rootProject.name = rootDir.name +if (rootProject.name.toLowerCase() == "neoforge") { + // Solve name clashes between projects/neoforge and the rootProject for Eclipse. + rootProject.name = "NeoForge-Root" +} dynamicProjects { include ':base'