mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 02:03:59 +00:00
Fix
This commit is contained in:
parent
6948d70d94
commit
fc47651c33
@ -81,6 +81,8 @@ shadowJar
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
manifest()
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compileOnly 'org.projectlombok:lombok:1.18.20'
|
compileOnly 'org.projectlombok:lombok:1.18.20'
|
||||||
annotationProcessor 'org.projectlombok:lombok:1.18.20'
|
annotationProcessor 'org.projectlombok:lombok:1.18.20'
|
||||||
|
@ -321,7 +321,14 @@ public class IO {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static void writeAll(File f, Object c) throws IOException {
|
public static void writeAll(File f, Object c) throws IOException {
|
||||||
f.getParentFile().mkdirs();
|
try {
|
||||||
|
f.getParentFile().mkdirs();
|
||||||
|
}
|
||||||
|
catch(Throwable ignored)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
PrintWriter pw = new PrintWriter(new FileWriter(f));
|
PrintWriter pw = new PrintWriter(new FileWriter(f));
|
||||||
pw.println(c.toString());
|
pw.println(c.toString());
|
||||||
pw.close();
|
pw.close();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user