From ac649efd3190237e22d79b59db436a4511f5e1b7 Mon Sep 17 00:00:00 2001 From: "sebastian.sellmair" Date: Mon, 20 Jul 2020 14:49:21 +0200 Subject: Implement dokka_integration_test_parallelism gradle property and set default to 2 --- gradle.properties | 5 +++-- integration-tests/build.gradle.kts | 4 ++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gradle.properties b/gradle.properties index a1286fcf..95bbb076 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,12 +1,13 @@ +# Project Settings dokka_version_base=1.4.0-rc dokka_publication_channel=dokka +dokka_integration_test_parallelism=2 -# Kotlin compiler and plugin +# Versions kotlin_version=1.4.0-rc-173 kotlin_plugin_version=1.4-M3-release-207 coroutines_version=1.3.7-1.4-M3 kotlinx_html_version=0.7.1-1.4-M3 - idea_version=193.6494.35 language_version=1.4 diff --git a/integration-tests/build.gradle.kts b/integration-tests/build.gradle.kts index fb987c36..9b7bc435 100644 --- a/integration-tests/build.gradle.kts +++ b/integration-tests/build.gradle.kts @@ -26,6 +26,10 @@ subprojects { testClassesDirs = sourceSets["integrationTest"].output.classesDirs classpath = sourceSets["integrationTest"].runtimeClasspath + project.properties["dokka_integration_test_parallelism"]?.toString()?.toIntOrNull()?.let { parallelism -> + maxParallelForks = parallelism + } + useJUnit() } -- cgit