run test in parallel
This commit is contained in:
parent
828612fe65
commit
c8516f7d40
1 changed files with 6 additions and 0 deletions
|
@ -58,3 +58,9 @@ allprojects {
|
||||||
task clean(type: Delete) {
|
task clean(type: Delete) {
|
||||||
delete rootProject.buildDir
|
delete rootProject.buildDir
|
||||||
}
|
}
|
||||||
|
|
||||||
|
subprojects {
|
||||||
|
tasks.withType(Test) {
|
||||||
|
maxParallelForks = Runtime.runtime.availableProcessors().intdiv(2) ?: 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue