1
0
mirror of https://github.com/Anuken/Mindustry.git synced 2024-09-11 08:15:35 +03:00
This commit is contained in:
Anuken 2022-03-27 22:39:45 -04:00
parent cefb9d263a
commit 9a8c557a42
2 changed files with 4 additions and 3 deletions

View File

@ -144,10 +144,11 @@ public abstract class BaseProcessor extends AbstractProcessor{
}
}
Time.mark();
String out = result.toString("\n");
JavaFileObject object = filer.createSourceFile(file.packageName + "." + file.typeSpec.name, file.typeSpec.originatingElements.toArray(new Element[0]));
OutputStream stream = object.openOutputStream();
stream.write(out.getBytes());
Writer stream = object.openWriter();
stream.write(out);
stream.close();
}else{
file.writeTo(filer);

View File

@ -24,4 +24,4 @@ android.useAndroidX=true
#used for slow jitpack builds; TODO see if this actually works
org.gradle.internal.http.socketTimeout=100000
org.gradle.internal.http.connectionTimeout=100000
archash=60704334ff
archash=6ece186c25