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
@@ -3,6 +3,10 @@ import org.gradle.api.tasks.bundling.Jar
import org.jetbrains.kotlin.gradle.dsl.KotlinCompile
import org.jetbrains.kotlin.gradle.dsl.KotlinJvmCompile
tasks.withType<Test> {
maxParallelForks = Math.max(Runtime.getRuntime().availableProcessors() / 2, 1)
}
plugins {
kotlin("jvm")
id("jps-compatible")