Skip to content

Commit

Permalink
work around No signature of method: static org.gradle.nativeplatform.…
Browse files Browse the repository at this point in the history
…platform.OperatingSystem.current()
  • Loading branch information
ar committed Mar 4, 2024
1 parent 18eb8d5 commit f581cb9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ subprojects {
events "passed", "skipped", "failed"
}
systemProperty 'user.language', 'en'
if (!(System.getenv("GITHUB_ACTIONS") != null && System.getenv("GITHUB_ACTIONS") == "true" &&
(OperatingSystem.current().isMacOsX() || OperatingSystem.current().isWindows()))) {
maxParallelForks = Runtime.runtime.availableProcessors()
}
// if (!(System.getenv("GITHUB_ACTIONS") != null && System.getenv("GITHUB_ACTIONS") == "true" &&
// (OperatingSystem.current().isMacOsX() || OperatingSystem.current().isWindows()))) {
// maxParallelForks = Runtime.runtime.availableProcessors()
// }
}
dependencies {
testImplementation testlibs.junit
Expand Down

0 comments on commit f581cb9

Please sign in to comment.