mirror of https://github.com/FabricMC/yarn.git
should fix some issues
This commit is contained in:
parent
0e0282deb2
commit
5114856abd
11
build.gradle
11
build.gradle
|
@ -238,7 +238,7 @@ task buildPomfTiny(dependsOn: "mergeJars",type: FileOutput) {
|
||||||
def pomfTiny = new File(tempDir, "pomf-mappings.tiny")
|
def pomfTiny = new File(tempDir, "pomf-mappings.tiny")
|
||||||
fileOutput = pomfTiny
|
fileOutput = pomfTiny
|
||||||
|
|
||||||
outputs.upToDateWhen {return true}
|
outputs.upToDateWhen {return false}
|
||||||
|
|
||||||
doLast {
|
doLast {
|
||||||
logger.lifecycle(":generating tiny mappings")
|
logger.lifecycle(":generating tiny mappings")
|
||||||
|
@ -263,7 +263,7 @@ task mergeTiny(dependsOn: ["buildPomfTiny", "downloadIntermediary"], type: FileO
|
||||||
outputs.file(outputFile)
|
outputs.file(outputFile)
|
||||||
fileOutput = outputFile
|
fileOutput = outputFile
|
||||||
|
|
||||||
outputs.upToDateWhen {return true}
|
outputs.upToDateWhen {return false}
|
||||||
|
|
||||||
doLast {
|
doLast {
|
||||||
logger.lifecycle(":merging pomf and intermediary")
|
logger.lifecycle(":merging pomf and intermediary")
|
||||||
|
@ -280,6 +280,7 @@ task mergeTiny(dependsOn: ["buildPomfTiny", "downloadIntermediary"], type: FileO
|
||||||
}
|
}
|
||||||
|
|
||||||
task tinyJar(type: Jar, dependsOn: "mergeTiny") {
|
task tinyJar(type: Jar, dependsOn: "mergeTiny") {
|
||||||
|
outputs.upToDateWhen {return false}
|
||||||
archiveName = "pomf-${pomfVersion}.jar"
|
archiveName = "pomf-${pomfVersion}.jar"
|
||||||
destinationDir(file("build/libs"))
|
destinationDir(file("build/libs"))
|
||||||
classifier = ""
|
classifier = ""
|
||||||
|
@ -295,7 +296,7 @@ task compressTiny(dependsOn: ["tinyJar", "mergeTiny"], type: FileOutput){
|
||||||
|
|
||||||
def inputFile = mergeTiny.fileOutput
|
def inputFile = mergeTiny.fileOutput
|
||||||
|
|
||||||
outputs.upToDateWhen {return true}
|
outputs.upToDateWhen {return false}
|
||||||
|
|
||||||
doLast {
|
doLast {
|
||||||
logger.lifecycle(":compressing tiny mappings")
|
logger.lifecycle(":compressing tiny mappings")
|
||||||
|
@ -331,7 +332,7 @@ task downloadMcLibs(dependsOn: downloadWantedVersionManifest) {
|
||||||
outputs.file(libraries)
|
outputs.file(libraries)
|
||||||
|
|
||||||
outputs.upToDateWhen {
|
outputs.upToDateWhen {
|
||||||
return true
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
doLast {
|
doLast {
|
||||||
|
@ -365,7 +366,7 @@ task mapJar(dependsOn: [downloadMcLibs, build]) {
|
||||||
|
|
||||||
//Force the task to always run
|
//Force the task to always run
|
||||||
outputs.upToDateWhen {
|
outputs.upToDateWhen {
|
||||||
return true
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
doLast {
|
doLast {
|
||||||
|
|
Loading…
Reference in New Issue