Merge branch '2.4.x' into 2.5.x

See gh-28484
This commit is contained in:
Andy Wilkinson 2021-10-29 17:18:30 +01:00
commit 28d323ee3a

View File

@ -156,7 +156,6 @@ class JavaConventions {
project.getTasks().withType(Test.class, (test) -> {
test.useJUnitPlatform();
test.setMaxHeapSize("1024M");
test.setMaxParallelForks(project.getGradle().getStartParameter().getMaxWorkerCount());
project.getTasks().withType(Checkstyle.class, (checkstyle) -> test.mustRunAfter(checkstyle));
project.getTasks().withType(CheckFormat.class, (checkFormat) -> test.mustRunAfter(checkFormat));
});