File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff 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('+', '-')} "
You can’t perform that action at this time.
0 commit comments