From 9589161d9861a1d2eb02df1c5858b3ff67ca0c7a Mon Sep 17 00:00:00 2001 From: Marcin Aman Date: Fri, 26 Mar 2021 17:35:44 +0100 Subject: Reintroduce multimodule documentation (#1804) --- .../main/kotlin/testApi/testRunner/TestDokkaConfigurationBuilder.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'core/test-api') diff --git a/core/test-api/src/main/kotlin/testApi/testRunner/TestDokkaConfigurationBuilder.kt b/core/test-api/src/main/kotlin/testApi/testRunner/TestDokkaConfigurationBuilder.kt index 82f6da3a..c0c449fb 100644 --- a/core/test-api/src/main/kotlin/testApi/testRunner/TestDokkaConfigurationBuilder.kt +++ b/core/test-api/src/main/kotlin/testApi/testRunner/TestDokkaConfigurationBuilder.kt @@ -35,6 +35,7 @@ class TestDokkaConfigurationBuilder { var failOnWarning: Boolean = false var modules: List = emptyList() var suppressObviousFunctions: Boolean = DokkaDefaults.suppressObviousFunctions + var includes: List = emptyList() private val lazySourceSets = mutableListOf>() fun build() = DokkaConfigurationImpl( @@ -48,7 +49,8 @@ class TestDokkaConfigurationBuilder { pluginsConfiguration = pluginsConfigurations, modules = modules, failOnWarning = failOnWarning, - suppressObviousFunctions = suppressObviousFunctions + suppressObviousFunctions = suppressObviousFunctions, + includes = includes.toSet(), ) fun sourceSets(block: SourceSetsBuilder.() -> Unit) { -- cgit