diff --git a/build-logic/src/main/kotlin/geyser.base-conventions.gradle.kts b/build-logic/src/main/kotlin/geyser.base-conventions.gradle.kts index 709867300..ae946b6ce 100644 --- a/build-logic/src/main/kotlin/geyser.base-conventions.gradle.kts +++ b/build-logic/src/main/kotlin/geyser.base-conventions.gradle.kts @@ -1,5 +1,6 @@ plugins { `java-library` + `eclipse` id("net.kyori.indra") } @@ -35,3 +36,13 @@ tasks { } } } + +eclipse { + classpath.file.whenMerged { + (this as org.gradle.plugins.ide.eclipse.model.Classpath).entries.forEach { entry -> + if (entry is org.gradle.plugins.ide.eclipse.model.Library) { + entry.entryAttributes["module"] = false + } + } + } +}