Fix gradle 8 deprecation warning
parent
a5bc38a940
commit
7ce072c47a
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue