almost forge support

This commit is contained in:
Leijurv 2019-02-04 18:05:05 -08:00
parent 8c899698e0
commit 40a66b0306
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -60,7 +60,7 @@ sourceSets {
minecraft {
version = '1.12.2'
mappings = 'stable_39'
tweakClass = 'baritone.launch.BaritoneTweaker'
tweakClass = 'org.spongepowered.asm.launch.MixinTweaker'
runDir = 'run'
// The sources jar should use SRG names not MCP to ensure compatibility with all mappings
@ -113,6 +113,15 @@ jar {
reproducibleFileOrder = true
}
jar {
manifest {
attributes(
'MixinConfigs': 'mixins.baritone.json'
)
}
}
task proguard(type: ProguardTask) {
url 'https://downloads.sourceforge.net/project/proguard/proguard/6.0/proguard6.0.3.zip'
extract 'proguard6.0.3/lib/proguard.jar'