Make run tasks use the correct path in multiproject environments. (#624)

This commit is contained in:
Jared
2022-04-14 00:15:18 +02:00
committed by GitHub
parent 2462e12e16
commit ccc70f134d

View File

@@ -52,7 +52,7 @@ public abstract class AbstractRunTask extends JavaExec {
@Override
public void exec() {
setWorkingDir(new File(getProject().getRootDir(), config.runDir));
setWorkingDir(new File(getProject().getProjectDir(), config.runDir));
super.exec();
}