Skip to content

Commit 0c88f53

Browse files
committed
Remove Jitpack nonsense
1 parent 4a9769a commit 0c88f53

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

module-mixin/build.gradle

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,7 @@ flavors.each {
4747

4848
if (mixinFlavor == "fabric" || mixinFlavor == "unimix") {
4949
def uniLocal = mixinFlavor == "unimix" && project.hasProperty("local")
50-
def uniJitpack = mixinFlavor == "unimix" && !uniLocal
51-
52-
mixinVersion = mixinFlavor == "fabric" ? fabricMixinVersion : unimixMixinVersion
50+
mixinVersion = mixinFlavor == "fabric" ? fabricMixinVersion : unimixMixinVersion
5351
if (uniLocal) {
5452
mixinVersion += "-local"
5553
}
@@ -59,9 +57,9 @@ flavors.each {
5957
// - we have to use _ instead of + in version string because the latter is not supported (for some strange reason)
6058
// - artifact id is UniMix, not sponge-mixin (this one makes sense at least)
6159

62-
def mixinGroup = mixinFlavor == "fabric" ? "net.fabricmc" : "${uniJitpack ? 'com' : 'io'}.github.legacymoddingmc"
63-
def mixinArtifactId = uniJitpack ? "UniMix" : "sponge-mixin"
64-
def mixinDepVersion = uniJitpack ? mixinVersion.replace('+', '_') : mixinVersion
60+
def mixinGroup = mixinFlavor == "fabric" ? "net.fabricmc" : "io.github.legacymoddingmc"
61+
def mixinArtifactId = "sponge-mixin"
62+
def mixinDepVersion = mixinVersion
6563
def mixinDep = "$mixinGroup:$mixinArtifactId:$mixinDepVersion"
6664

6765
mixinFlavorClassifier = "$mixinFlavor.${mixinVersion.replace('+', '-')}"

0 commit comments

Comments
 (0)