aboutsummaryrefslogtreecommitdiff
path: root/core/test-api/src
diff options
context:
space:
mode:
Diffstat (limited to 'core/test-api/src')
-rw-r--r--core/test-api/src/main/kotlin/testApi/testRunner/TestDokkaConfigurationBuilder.kt4
1 files changed, 3 insertions, 1 deletions
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<DokkaModuleDescriptionImpl> = emptyList()
var suppressObviousFunctions: Boolean = DokkaDefaults.suppressObviousFunctions
+ var includes: List<File> = emptyList()
private val lazySourceSets = mutableListOf<Lazy<DokkaSourceSetImpl>>()
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) {