Fix genSources on sub projects

This commit is contained in:
modmuss50 2020-07-26 23:42:15 +01:00
parent 1955bcb2ea
commit db1fe88fcc

View file

@ -99,7 +99,7 @@ public abstract class AbstractFernFlowerDecompiler implements LoomDecompiler {
Map<String, ProgressLogger> inUseLoggers = new HashMap<>();
progressGroup.started();
ExecResult result = ForkingJavaExec.javaexec(project, spec -> {
ExecResult result = ForkingJavaExec.javaexec(project.getRootProject(), spec -> {
spec.setMain(fernFlowerExecutor().getName());
spec.jvmArgs("-Xms200m", "-Xmx3G");
spec.setArgs(args);