Fix gradle 8 deprecation warning
This commit is contained in:
parent
a5bc38a940
commit
7ce072c47a
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue