Skip to content

Commit

Permalink
Added Gradle parallel test execution
Browse files Browse the repository at this point in the history
  • Loading branch information
kasecato committed Mar 30, 2018
1 parent 75b3d5d commit 4b195dc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,11 @@ uploadArchives {
}
}

test {
maxParallelForks = Runtime.runtime.availableProcessors().intdiv(2) ?: 1
forkEvery = 4
}

task preCompile << {
tasks.createDictionary.execute()
}
Expand Down

0 comments on commit 4b195dc

Please sign in to comment.