Skip to content

Commit 025b8ee

Browse files
committed
Revert "Make ParallelDetector Gradle configuration cache compliant (#95434)"
This reverts commit 4fc6dda.
1 parent 4fc6dda commit 025b8ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/info/ParallelDetector.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public static int findDefaultParallel(Project project) {
7474
? "hw.perflevel0.physicalcpu"
7575
: "hw.physicalcpu";
7676

77-
project.getProviders().exec(spec -> {
77+
project.exec(spec -> {
7878
spec.setExecutable("sysctl");
7979
spec.args("-n", query);
8080
spec.setStandardOutput(stdout);

0 commit comments

Comments
 (0)