diff --git a/tools/gradle/src/main/java/org/teavm/gradle/TeaVMExtensionImpl.java b/tools/gradle/src/main/java/org/teavm/gradle/TeaVMExtensionImpl.java index 208d2c32e..f877352cc 100644 --- a/tools/gradle/src/main/java/org/teavm/gradle/TeaVMExtensionImpl.java +++ b/tools/gradle/src/main/java/org/teavm/gradle/TeaVMExtensionImpl.java @@ -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() {