aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsebastian.sellmair <sebastian.sellmair@jetbrains.com>2020-07-20 14:49:21 +0200
committerSebastian Sellmair <34319766+sellmair@users.noreply.github.com>2020-07-20 15:32:22 +0200
commitac649efd3190237e22d79b59db436a4511f5e1b7 (patch)
tree826f15fa90ed0b527f286df8028438c79c1a1228
parente5333cbc3b5649d449bcddca5940355203feb1ae (diff)
downloaddokka-ac649efd3190237e22d79b59db436a4511f5e1b7.tar.gz
dokka-ac649efd3190237e22d79b59db436a4511f5e1b7.tar.bz2
dokka-ac649efd3190237e22d79b59db436a4511f5e1b7.zip
Implement dokka_integration_test_parallelism gradle property and set default to 2
-rw-r--r--gradle.properties5
-rw-r--r--integration-tests/build.gradle.kts4
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()
}