rename mapping headers

This commit is contained in:
Adrian Siekierka 2018-11-02 17:17:55 +01:00
parent 0bb8d7b762
commit fd623e3235
1 changed files with 9 additions and 5 deletions

View File

@ -247,8 +247,8 @@ task buildPomfTiny(dependsOn: "mergeJars",type: FileOutput) {
mergedFile.getAbsolutePath(),
mappingsDir.getAbsolutePath(),
pomfTiny.getAbsolutePath(),
"mojang",
"pomf"
"official",
"named"
]
new CommandTinyify().run(args)
@ -271,8 +271,8 @@ task mergeTiny(dependsOn: ["buildPomfTiny", "downloadIntermediary"], type: FileO
pomfTinyInput.getAbsolutePath(),
intermediaryTinyInput.getAbsolutePath(),
outputFile.getAbsolutePath(),
"intermediary",
"mojang"
"intermediary",
"official"
]
new CommandMergeTiny().run(args)
@ -317,6 +317,10 @@ task compressTiny(dependsOn: ["tinyJar", "mergeTiny"], type: FileOutput){
}
}
clean.doFirst {
delete tempDir, cacheFilesMinecraft
}
tasks.build.dependsOn "compressTiny"
tasks.build.dependsOn "buildEnigma"
tasks.build.dependsOn "tinyJar"
@ -374,7 +378,7 @@ task mapJar(dependsOn: [downloadMcLibs, build]) {
def tinyInput = new File("build/libs/pomf-tiny-${pomfVersion}.gz").toPath()
def remapper = TinyRemapper.newRemapper()
.withMappings(TinyUtils.createTinyMappingProvider(tinyInput, "mojang", "pomf"))
.withMappings(TinyUtils.createTinyMappingProvider(tinyInput, "official", "named"))
.build()
try {