Allow tests to be run in parallel.

This commit is contained in:
Steven Schäfer
2019-03-19 18:10:32 +01:00
committed by max-kammerer
parent ca0e66bafc
commit 21d81f353c
7 changed files with 31 additions and 43 deletions
+4
View File
@@ -2,6 +2,10 @@ import com.moowork.gradle.node.NodeExtension
import com.moowork.gradle.node.npm.NpmTask
import org.gradle.internal.os.OperatingSystem
tasks.withType<Test> {
maxParallelForks = Math.max(Runtime.getRuntime().availableProcessors() / 2, 1)
}
plugins {
kotlin("jvm")
id("jps-compatible")