From 3406ba3ebf20706d5100e4a88f8cf6b8709d8c80 Mon Sep 17 00:00:00 2001 From: SquidDev Date: Sun, 2 Jun 2019 18:48:36 +0100 Subject: [PATCH] Fix a build from a clean state failing --- build.gradle | 1 + 1 file changed, 1 insertion(+) diff --git a/build.gradle b/build.gradle index a7e9aebe3..b4bf1056f 100644 --- a/build.gradle +++ b/build.gradle @@ -199,6 +199,7 @@ task compressJson(dependsOn: extractAnnotationsJar) { // Copy over all files in the current jar to the new one, running json files from GSON. As pretty printing // is turned off, they should be minified. new ZipFile(jarPath).withCloseable { inJar -> + tempPath.getParentFile().mkdirs() new ZipOutputStream(new BufferedOutputStream(new FileOutputStream(tempPath))).withCloseable { outJar -> inJar.entries().each { entry -> if(entry.directory) {