mirror of https://github.com/FabricMC/yarn.git
rename mapping headers
This commit is contained in:
parent
0bb8d7b762
commit
fd623e3235
12
build.gradle
12
build.gradle
|
@ -247,8 +247,8 @@ task buildPomfTiny(dependsOn: "mergeJars",type: FileOutput) {
|
||||||
mergedFile.getAbsolutePath(),
|
mergedFile.getAbsolutePath(),
|
||||||
mappingsDir.getAbsolutePath(),
|
mappingsDir.getAbsolutePath(),
|
||||||
pomfTiny.getAbsolutePath(),
|
pomfTiny.getAbsolutePath(),
|
||||||
"mojang",
|
"official",
|
||||||
"pomf"
|
"named"
|
||||||
]
|
]
|
||||||
|
|
||||||
new CommandTinyify().run(args)
|
new CommandTinyify().run(args)
|
||||||
|
@ -272,7 +272,7 @@ task mergeTiny(dependsOn: ["buildPomfTiny", "downloadIntermediary"], type: FileO
|
||||||
intermediaryTinyInput.getAbsolutePath(),
|
intermediaryTinyInput.getAbsolutePath(),
|
||||||
outputFile.getAbsolutePath(),
|
outputFile.getAbsolutePath(),
|
||||||
"intermediary",
|
"intermediary",
|
||||||
"mojang"
|
"official"
|
||||||
]
|
]
|
||||||
|
|
||||||
new CommandMergeTiny().run(args)
|
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 "compressTiny"
|
||||||
tasks.build.dependsOn "buildEnigma"
|
tasks.build.dependsOn "buildEnigma"
|
||||||
tasks.build.dependsOn "tinyJar"
|
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 tinyInput = new File("build/libs/pomf-tiny-${pomfVersion}.gz").toPath()
|
||||||
|
|
||||||
def remapper = TinyRemapper.newRemapper()
|
def remapper = TinyRemapper.newRemapper()
|
||||||
.withMappings(TinyUtils.createTinyMappingProvider(tinyInput, "mojang", "pomf"))
|
.withMappings(TinyUtils.createTinyMappingProvider(tinyInput, "official", "named"))
|
||||||
.build()
|
.build()
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue