Build: Fix gradle build for Mac OS
Remove trailing line feed from the output of the command to get
the number of CPUs.
Follow up to:
@@ -916,7 +916,7 @@ class BuildPlugin implements Plugin<Project> {
args '-n', 'hw.physicalcpu'
standardOutput = stdout
}
- return stdout.toString('UTF-8')
+ return stdout.toString('UTF-8').trim();
}
return 'auto';
}
