Fix gradle 8 deprecation warning

dev/0.11
modmuss50 2021-05-04 19:19:02 +01:00
parent a5bc38a940
commit 7ce072c47a
1 changed files with 1 additions and 1 deletions

View File

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