mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 08:14:09 -08:00
gradle: set default JS optimization to BALANCED
This commit is contained in:
parent
e9d206eed0
commit
df40dedba3
|
@ -66,7 +66,7 @@ class TeaVMExtensionImpl extends TeaVMBaseExtensionImpl implements TeaVMExtensio
|
|||
js.getTargetFileName().convention(project.provider(() -> project.getName() + ".js"));
|
||||
js.getAddedToWebApp().convention(property("js.addedToWebApp").map(Boolean::parseBoolean).orElse(false));
|
||||
js.getOptimization().convention(property("js.optimization").map(OptimizationLevel::valueOf)
|
||||
.orElse(OptimizationLevel.AGGRESSIVE));
|
||||
.orElse(OptimizationLevel.BALANCED));
|
||||
}
|
||||
|
||||
private void setupWasmDefaults() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user