This commit is contained in:
Daniel Mills 2021-07-20 13:28:17 -04:00
parent 6948d70d94
commit fc47651c33
2 changed files with 10 additions and 1 deletions

View File

@ -81,6 +81,8 @@ shadowJar
}
}
manifest()
dependencies {
compileOnly 'org.projectlombok:lombok:1.18.20'
annotationProcessor 'org.projectlombok:lombok:1.18.20'

View File

@ -321,7 +321,14 @@ public class IO {
}
public static void writeAll(File f, Object c) throws IOException {
try {
f.getParentFile().mkdirs();
}
catch(Throwable ignored)
{
}
PrintWriter pw = new PrintWriter(new FileWriter(f));
pw.println(c.toString());
pw.close();