Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

backport current buildscripts to 1.12.2 #3856

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Prev Previous commit
bump unimined to fix forge runclient gradle task
  • Loading branch information
wagyourtail committed Mar 21, 2023
commit ffda2022c73f7a6349398225c1295bc4e3206972
2 changes: 1 addition & 1 deletion buildSrc/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ dependencies {
implementation group: 'com.google.code.gson', name: 'gson', version: '2.9.0'
implementation group: 'commons-io', name: 'commons-io', version: '2.6'

implementation group: 'xyz.wagyourtail.unimined', name: 'xyz.wagyourtail.unimined.gradle.plugin', version: '0.4.1'
implementation group: 'xyz.wagyourtail.unimined', name: 'xyz.wagyourtail.unimined.gradle.plugin', version: '0.4.9'
}
9 changes: 1 addition & 8 deletions forge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,8 @@ minecraft {
mixinConfig = ["mixins.baritone.json"]
}

launches.client = {
launcher.client = {
args.addAll(["--tweakClass", "org.spongepowered.asm.launch.MixinTweaker"])
// old mixin (0.7.11) uses a different flag for specifying configs
// in the launch args
for (int i = 0; i < args.size(); i++) {
if (args[i] == "-mixin.config") {
args[i] = "--mixin"
}
}
}
}

Expand Down