Skip to content

Commit

Permalink
Remove the parallel execution PoC
Browse files Browse the repository at this point in the history
  • Loading branch information
marchermans committed May 16, 2024
1 parent e50c169 commit 06b6427
Showing 1 changed file with 0 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -147,24 +147,6 @@ public void apply(Project project) {
//Needs to be before after evaluate
configureConventions(project);

//Enforce parallel task execution.
final IdeManagementExtension ideManagementExtension = project.getExtensions().getByType(IdeManagementExtension.class);
ideManagementExtension.apply(new IdeManagementExtension.IdeImportAction() {
@Override
public void eclipse(Project project, EclipseModel eclipse) {
setParallel(project);
}

@Override
public void idea(Project project, IdeaModel idea, ProjectSettings ideaExtension) {
setParallel(project);
}

private void setParallel(Project project) {
project.getGradle().getStartParameter().setParallelProjectExecutionEnabled(true);
}
});

project.afterEvaluate(this::applyAfterEvaluate);
}

Expand Down

0 comments on commit 06b6427

Please sign in to comment.