aboutsummaryrefslogtreecommitdiff
path: root/integration-tests/build.gradle.kts
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 /integration-tests/build.gradle.kts
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
Diffstat (limited to 'integration-tests/build.gradle.kts')
-rw-r--r--integration-tests/build.gradle.kts4
1 files changed, 4 insertions, 0 deletions
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()
}