aboutsummaryrefslogtreecommitdiff
path: root/core/test-api/src
diff options
context:
space:
mode:
authorMarcin Aman <marcin.aman@gmail.com>2021-03-01 13:50:17 +0100
committerGitHub <noreply@github.com>2021-03-01 13:50:17 +0100
commit7cf644f064868934fe8dcb46ab150f25fab8e8c8 (patch)
tree30d97e4cdaa6017401e7780bd86471f93d6f4d08 /core/test-api/src
parentab853a866c40771e84a3235f40575efe04c435c5 (diff)
downloaddokka-7cf644f064868934fe8dcb46ab150f25fab8e8c8.tar.gz
dokka-7cf644f064868934fe8dcb46ab150f25fab8e8c8.tar.bz2
dokka-7cf644f064868934fe8dcb46ab150f25fab8e8c8.zip
Add ability to suppress obvious functions like equals, toString... (#1758)
* Add ability to suppress obvious functions like equals, toString... * Add ability to suppress obvious functions like equals, toString...
Diffstat (limited to 'core/test-api/src')
-rw-r--r--core/test-api/src/main/kotlin/testApi/testRunner/TestDokkaConfigurationBuilder.kt2
1 files changed, 2 insertions, 0 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 87e85c02..82f6da3a 100644
--- a/core/test-api/src/main/kotlin/testApi/testRunner/TestDokkaConfigurationBuilder.kt
+++ b/core/test-api/src/main/kotlin/testApi/testRunner/TestDokkaConfigurationBuilder.kt
@@ -34,6 +34,7 @@ class TestDokkaConfigurationBuilder {
var pluginsConfigurations: MutableList<PluginConfigurationImpl> = mutableListOf()
var failOnWarning: Boolean = false
var modules: List<DokkaModuleDescriptionImpl> = emptyList()
+ var suppressObviousFunctions: Boolean = DokkaDefaults.suppressObviousFunctions
private val lazySourceSets = mutableListOf<Lazy<DokkaSourceSetImpl>>()
fun build() = DokkaConfigurationImpl(
@@ -47,6 +48,7 @@ class TestDokkaConfigurationBuilder {
pluginsConfiguration = pluginsConfigurations,
modules = modules,
failOnWarning = failOnWarning,
+ suppressObviousFunctions = suppressObviousFunctions
)
fun sourceSets(block: SourceSetsBuilder.() -> Unit) {