Remove Jitpack nonsense

This commit is contained in:
ah-OOG-ah committed 2025-12-17 15:16:14 -05:00
1 parent 4a9769a5c5
commit 0c88f535aa
1 file changed
+4 -6
+4 -6
View File
@@ -47,9 +47,7 @@ flavors.each {
if (mixinFlavor == "fabric" || mixinFlavor == "unimix") {
def uniLocal = mixinFlavor == "unimix" && project.hasProperty("local")
def uniJitpack = mixinFlavor == "unimix" && !uniLocal
mixinVersion = mixinFlavor == "fabric" ? fabricMixinVersion : unimixMixinVersion
mixinVersion = mixinFlavor == "fabric" ? fabricMixinVersion : unimixMixinVersion
if (uniLocal) {
mixinVersion += "-local"
}
@@ -59,9 +57,9 @@ flavors.each {
// - we have to use _ instead of + in version string because the latter is not supported (for some strange reason)
// - artifact id is UniMix, not sponge-mixin (this one makes sense at least)
def mixinGroup = mixinFlavor == "fabric" ? "net.fabricmc" : "${uniJitpack ? 'com' : 'io'}.github.legacymoddingmc"
def mixinArtifactId = uniJitpack ? "UniMix" : "sponge-mixin"
def mixinDepVersion = uniJitpack ? mixinVersion.replace('+', '_') : mixinVersion
def mixinGroup = mixinFlavor == "fabric" ? "net.fabricmc" : "io.github.legacymoddingmc"
def mixinArtifactId = "sponge-mixin"
def mixinDepVersion = mixinVersion
def mixinDep = "$mixinGroup:$mixinArtifactId:$mixinDepVersion"
mixinFlavorClassifier = "$mixinFlavor.${mixinVersion.replace('+', '-')}"