Allow tests to be run in parallel.
This commit is contained in:
committed by
max-kammerer
parent
ca0e66bafc
commit
21d81f353c
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user