mirror of https://github.com/FabricMC/yarn.git
Fix build without libs folder
This commit is contained in:
parent
a95593bace
commit
38658dc7e1
|
@ -173,9 +173,13 @@ task buildTiny << {
|
||||||
}
|
}
|
||||||
|
|
||||||
logger.lifecycle(":compressing tiny mappings")
|
logger.lifecycle(":compressing tiny mappings")
|
||||||
|
def libs = new File("build/libs/")
|
||||||
|
if(!libs.exists()){
|
||||||
|
libs.mkdirs()
|
||||||
|
}
|
||||||
|
|
||||||
def buffer = new byte[1024]
|
def buffer = new byte[1024]
|
||||||
def outputFile = new File("build/libs/pomf-tiny-${pomfVersion}.gz")
|
def outputFile = new File(libs, "pomf-tiny-${pomfVersion}.gz")
|
||||||
def fileOutputStream = new FileOutputStream(outputFile)
|
def fileOutputStream = new FileOutputStream(outputFile)
|
||||||
def outputStream = new GZIPOutputStream(fileOutputStream)
|
def outputStream = new GZIPOutputStream(fileOutputStream)
|
||||||
def inputFile = new File("mappings.tiny")
|
def inputFile = new File("mappings.tiny")
|
||||||
|
|
Loading…
Reference in New Issue