Skip to content

Commit 94c7551

Browse files
Change modrinth/hangar publishing dependencies (#825)
1 parent b6caa30 commit 94c7551

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

universal/build.gradle.kts

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,10 @@ if (!isRelease || isMainBranch) { // Only publish releases from the main branch
5454
autoAddDependsOn.set(false)
5555
detectLoaders.set(false)
5656
dependencies {
57-
optional.project("viaversion")
58-
optional.project("viafabric")
57+
required.project("viafabric")
5958
optional.project("viafabricplus")
59+
optional.project("viaversion")
60+
optional.project("viarewind")
6061
}
6162
}
6263

@@ -75,6 +76,9 @@ if (!isRelease || isMainBranch) { // Only publish releases from the main branch
7576
hangar("ViaVersion") {
7677
required = true
7778
}
79+
hangar("ViaRewind") {
80+
required = false
81+
}
7882
}
7983
}
8084
velocity {
@@ -84,6 +88,9 @@ if (!isRelease || isMainBranch) { // Only publish releases from the main branch
8488
hangar("ViaVersion") {
8589
required = true
8690
}
91+
hangar("ViaRewind") {
92+
required = false
93+
}
8794
}
8895
}
8996
}

0 commit comments

Comments
 (0)