Change modrinth/hangar publishing dependencies (#825)

This commit is contained in:
EnZaXD 2024-07-20 09:15:57 +02:00 committed by GitHub
parent b6caa30c16
commit 94c755166c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -54,9 +54,10 @@ if (!isRelease || isMainBranch) { // Only publish releases from the main branch
autoAddDependsOn.set(false)
detectLoaders.set(false)
dependencies {
optional.project("viaversion")
optional.project("viafabric")
required.project("viafabric")
optional.project("viafabricplus")
optional.project("viaversion")
optional.project("viarewind")
}
}
@ -75,6 +76,9 @@ if (!isRelease || isMainBranch) { // Only publish releases from the main branch
hangar("ViaVersion") {
required = true
}
hangar("ViaRewind") {
required = false
}
}
}
velocity {
@ -84,6 +88,9 @@ if (!isRelease || isMainBranch) { // Only publish releases from the main branch
hangar("ViaVersion") {
required = true
}
hangar("ViaRewind") {
required = false
}
}
}
}