Don't add tasks before run to idea anymore for arch

This commit is contained in:
shedaniel
2021-01-26 11:34:52 +08:00
parent 10f5eb0612
commit b880d3f9d5
3 changed files with 8 additions and 34 deletions

View File

@@ -186,14 +186,16 @@ public class GenVsCodeProjectTask extends AbstractLoomTask {
public Map<String, String> env = new LinkedHashMap<>();
public transient List<String> tasksBeforeRun = new ArrayList<>();
public String preLaunchTask = null;
public String projectName = null;
VsCodeConfiguration(RunConfig runConfig) {
this.name = runConfig.configName;
this.mainClass = runConfig.mainClass;
this.vmArgs = runConfig.vmArgs;
this.args = runConfig.programArgs;
this.projectName = runConfig.vscodeProjectName;
this.env.putAll(runConfig.envVariables);
this.tasksBeforeRun.addAll(runConfig.tasksBeforeRun);
this.tasksBeforeRun.addAll(runConfig.vscodeBeforeRun);
}
}