From 7cf644f064868934fe8dcb46ab150f25fab8e8c8 Mon Sep 17 00:00:00 2001 From: Marcin Aman Date: Mon, 1 Mar 2021 13:50:17 +0100 Subject: 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... --- .../src/main/kotlin/testApi/testRunner/TestDokkaConfigurationBuilder.kt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'core/test-api/src/main/kotlin') 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 = mutableListOf() var failOnWarning: Boolean = false var modules: List = emptyList() + var suppressObviousFunctions: Boolean = DokkaDefaults.suppressObviousFunctions private val lazySourceSets = mutableListOf>() fun build() = DokkaConfigurationImpl( @@ -47,6 +48,7 @@ class TestDokkaConfigurationBuilder { pluginsConfiguration = pluginsConfigurations, modules = modules, failOnWarning = failOnWarning, + suppressObviousFunctions = suppressObviousFunctions ) fun sourceSets(block: SourceSetsBuilder.() -> Unit) { -- cgit