Downgrade pre-1.12 back to Mixin 0.7.10

This commit is contained in:
Jonas Herzig
2020-04-21 21:11:31 +02:00
parent a733d301fd
commit b852a1787d
2 changed files with 11 additions and 4 deletions

View File

@@ -248,9 +248,11 @@ dependencies {
}
if (!FABRIC) {
annotationProcessor 'org.spongepowered:mixin:0.8'
compileOnly 'org.spongepowered:mixin:0.8'
shade('org.spongepowered:mixin:0.8') {
// Mixin 0.8 is no longer compatible with MC 1.11.2 or older
def mixinVersion = mcVersion >= 11200 ? '0.8' : '0.7.10-SNAPSHOT'
annotationProcessor "org.spongepowered:mixin:$mixinVersion"
compileOnly "org.spongepowered:mixin:$mixinVersion"
shade("org.spongepowered:mixin:$mixinVersion") {
transitive = false // deps should all be bundled with MC
}