gradle: fix passing optimization from DSL to tasks

This commit is contained in:
Alexey Andreev 2023-11-25 15:57:21 +01:00
parent 607e107e70
commit a433ca9fe5

View File

@ -253,6 +253,7 @@ public class TeaVMPlugin implements Plugin<Project> {
task.getPreservedClasses().addAll(configuration.getPreservedClasses());
task.getDebugInformation().convention(configuration.getDebugInformation());
task.getFastGlobalAnalysis().convention(configuration.getFastGlobalAnalysis());
task.getOptimization().convention(configuration.getOptimization());
task.getOutOfProcess().convention(configuration.getOutOfProcess());
task.getProcessMemory().convention(configuration.getProcessMemory());
task.getProperties().putAll(configuration.getProperties());