diff options
author | Marcin Aman <marcin.aman@gmail.com> | 2021-03-26 17:35:44 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-26 17:35:44 +0100 |
commit | 9589161d9861a1d2eb02df1c5858b3ff67ca0c7a (patch) | |
tree | 308e7d2bcd682e08812e6b68fc182eb276475562 /core/test-api | |
parent | ac4b818a8616e4de8f702167fe6ddbe911df5d24 (diff) | |
download | dokka-9589161d9861a1d2eb02df1c5858b3ff67ca0c7a.tar.gz dokka-9589161d9861a1d2eb02df1c5858b3ff67ca0c7a.tar.bz2 dokka-9589161d9861a1d2eb02df1c5858b3ff67ca0c7a.zip |
Reintroduce multimodule documentation (#1804)
Diffstat (limited to 'core/test-api')
-rw-r--r-- | core/test-api/src/main/kotlin/testApi/testRunner/TestDokkaConfigurationBuilder.kt | 4 |
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) { |