mirror of
https://github.com/LegacyModdingMC/UniMixins.git
synced 2026-10-26 14:34:00 +00:00
Move dependency versions to gradle.properties
This will make checking for updates easier
This commit is contained in:
1 parent
b8953cc38c
commit
4144ea5913
4 files changed
+13
-7
No files matched your search
@@ -45,13 +45,11 @@ flavors.each {
|
||||
if (mixinFlavor == "fabric" || mixinFlavor == "spongepowered" || mixinFlavor == "unimix" || mixinFlavor == "gtnh") {
|
||||
// Fabric / SpongePowered / UniMix / GTNH
|
||||
|
||||
def asmVersion = "9.5"
|
||||
|
||||
if (mixinFlavor == "fabric" || mixinFlavor == "unimix") {
|
||||
def uniLocal = mixinFlavor == "unimix" && project.hasProperty("local")
|
||||
def uniJitpack = mixinFlavor == "unimix" && !uniLocal
|
||||
|
||||
mixinVersion = mixinFlavor == "fabric" ? "0.12.5+mixin.0.8.5" : "0.12.2+mixin.0.8.5"
|
||||
mixinVersion = mixinFlavor == "fabric" ? fabricMixinVersion : unimixMixinVersion
|
||||
if (uniLocal) {
|
||||
mixinVersion += "-local"
|
||||
}
|
||||
@@ -85,7 +83,7 @@ flavors.each {
|
||||
})
|
||||
}
|
||||
} else if(mixinFlavor == "spongepowered") {
|
||||
mixinVersion = "0.8.5"
|
||||
mixinVersion = spongepoweredMixinVersion
|
||||
|
||||
mixinFlavorClassifier = "spongepowered.$mixinVersion"
|
||||
|
||||
@@ -105,7 +103,7 @@ flavors.each {
|
||||
} else if(mixinFlavor == "gtnh") {
|
||||
// Adapted from GTNHMixins's build script
|
||||
|
||||
mixinVersion = "0.8.5-GTNH-2"
|
||||
mixinVersion = gtnhMixinVersion
|
||||
mixinFlavorClassifier = "gtnh.$mixinVersion"
|
||||
|
||||
dependencies {
|
||||
@@ -204,7 +202,7 @@ flavors.each {
|
||||
} else if (mixinFlavor == "gasmix") {
|
||||
// GasMix
|
||||
|
||||
mixinVersion = "0.8.5-gasstation_7"
|
||||
mixinVersion = gasmixMixinVersion
|
||||
|
||||
mixinFlavorClassifier = "gasmix.$mixinVersion"
|
||||
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
fabricMixinVersion=0.12.5+mixin.0.8.5
|
||||
unimixMixinVersion=0.12.2+mixin.0.8.5
|
||||
spongepoweredMixinVersion=0.8.5
|
||||
gtnhMixinVersion=0.8.5-GTNH-2
|
||||
gasmixMixinVersion=0.8.5-gasstation_7
|
||||
|
||||
asmVersion=9.5
|
||||
@@ -3,7 +3,7 @@ configurations {
|
||||
}
|
||||
|
||||
ext.uniVersion = version
|
||||
ext.extraVersion = "0.2.0-beta.8"
|
||||
ext.extraVersion = mixinExtrasVersion
|
||||
|
||||
dependencies {
|
||||
shadow("com.github.llamalad7.mixinextras:mixinextras-common:$extraVersion")
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
mixinExtrasVersion=0.2.0-beta.8
|
||||
Reference in new issue
Block a user