Revert "Make ParallelDetector Gradle configuration cache compliant (#95434)"

This reverts commit 4fc6dda21e.
This commit is contained in:
Rene Groeschke 2023-04-21 13:24:27 +02:00
parent 4fc6dda21e
commit 025b8ee66a
No known key found for this signature in database
GPG key ID: B1782D97CBC64567

View file

@ -74,7 +74,7 @@ public class ParallelDetector {
? "hw.perflevel0.physicalcpu" ? "hw.perflevel0.physicalcpu"
: "hw.physicalcpu"; : "hw.physicalcpu";
project.getProviders().exec(spec -> { project.exec(spec -> {
spec.setExecutable("sysctl"); spec.setExecutable("sysctl");
spec.args("-n", query); spec.args("-n", query);
spec.setStandardOutput(stdout); spec.setStandardOutput(stdout);