Skip to content

Commit

Permalink
Fix root project name for Eclipse on Windows (#1682)
Browse files Browse the repository at this point in the history
Co-authored-by: Marc Hermans <[email protected]>
  • Loading branch information
Technici4n and marchermans authored Nov 11, 2024
1 parent db945b7 commit 00877de
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 00877de

Please sign in to comment.