Skip to content

Commit 293660d

Browse files
committed
build: set maxParallelForks
1 parent 340b090 commit 293660d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build.gradle.kts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,9 @@ subprojects {
131131
excludes = listOf("jdk.internal.*")
132132
}
133133

134+
maxParallelForks = (Runtime.getRuntime().availableProcessors() / 2).coerceAtLeast(1).also {
135+
println("Setting maxParallelForks to $it")
136+
}
134137
testLogging {
135138
showExceptions = true
136139
showCauses = true

0 commit comments

Comments
 (0)