Use multithreading for unit test execution

Signed-off-by: Stefan Niedermann <info@niedermann.it>
This commit is contained in:
Stefan Niedermann 2021-07-23 14:12:47 +02:00 committed by Niedermann IT-Dienstleistungen
parent 04219ae638
commit 4aacec24ea

View file

@ -21,3 +21,9 @@ allprojects {
maven { url "https://jitpack.io" }
}
}
subprojects {
tasks.withType(Test) {
maxParallelForks = Runtime.runtime.availableProcessors().intdiv(2) ?: 1
}
}