Fix gradle 8 deprecation warning

This commit is contained in:
modmuss50 2021-05-04 19:19:02 +01:00
parent a5bc38a940
commit 7ce072c47a

View file

@ -102,7 +102,7 @@ public abstract class AbstractFernFlowerDecompiler implements LoomDecompiler {
ExecResult result = ForkingJavaExec.javaexec(
project,
spec -> {
spec.setMain(fernFlowerExecutor().getName());
spec.getMainClass().set(fernFlowerExecutor().getName());
spec.jvmArgs("-Xms200m", "-Xmx3G");
spec.setArgs(args);
spec.setErrorOutput(System.err);