Exclude meta projects from main maven artifact.

This fixes being unable to depend on it in dev.
This commit is contained in:
modmuss50 2024-01-11 20:46:52 +00:00
parent 0fd1430e85
commit 7eebb47af6

View file

@ -668,7 +668,7 @@ publishing {
def depsNode = asNode().appendNode("dependencies") def depsNode = asNode().appendNode("dependencies")
subprojects.each { subprojects.each {
// The maven BOM containing all of the deprecated modules is added manually below. // The maven BOM containing all of the deprecated modules is added manually below.
if (it.path.startsWith(":deprecated")) { if (it.path.startsWith(":deprecated") || metaProjects.contains(it.name)) {
return return
} }