Parallel test execution

see https://guides.gradle.org/performance/#suggestions_for_java_projects

Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
This commit is contained in:
Karsten Thoms 2019-03-22 15:50:51 +01:00
parent e04964e4c2
commit 1171bb9602

View file

@ -57,3 +57,7 @@ task clean(type: Delete) {
description 'Deletes the local repositories.'
delete 'build'
}
tasks.withType(Test) {
maxParallelForks = Runtime.runtime.availableProcessors().intdiv(2) ?: 1
}