run test in parallel

This commit is contained in:
Milos Kozak 2020-05-24 19:07:26 +02:00
parent 828612fe65
commit c8516f7d40

View file

@ -58,3 +58,9 @@ allprojects {
task clean(type: Delete) {
delete rootProject.buildDir
}
subprojects {
tasks.withType(Test) {
maxParallelForks = Runtime.runtime.availableProcessors().intdiv(2) ?: 1
}
}