mirror of
https://github.com/Anuken/Mindustry.git
synced 2024-09-11 08:15:35 +03:00
dumb
This commit is contained in:
parent
cefb9d263a
commit
9a8c557a42
@ -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);
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user