mirror of
https://github.com/sigmasternchen/xtext-core
synced 2025-03-15 08:18:55 +00:00
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:
parent
e04964e4c2
commit
1171bb9602
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue