Temporarily fix build on eclipse so I may work...

Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>
This commit is contained in:
Joshua Castle 2023-03-05 18:33:24 -08:00
parent f59d72843f
commit e077407a1a
No known key found for this signature in database
GPG key ID: F674F38216C35D5D

View file

@ -1,5 +1,6 @@
plugins { plugins {
`java-library` `java-library`
`eclipse`
id("net.kyori.indra") 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
}
}
}
}