aboutsummaryrefslogtreecommitdiff
path: root/runners/maven-plugin/src/main
diff options
context:
space:
mode:
authorMarcin Aman <marcin.aman@gmail.com>2021-04-06 18:06:42 +0200
committerGitHub <noreply@github.com>2021-04-06 18:06:42 +0200
commit5afe512c669e68aea3712ac37b67d005657cf60a (patch)
tree2a2ec579a16bf32b93dbcd1adaa8961c2c875b59 /runners/maven-plugin/src/main
parentcd071a5e07c8202c66db2e077ea43bea76d55511 (diff)
downloaddokka-5afe512c669e68aea3712ac37b67d005657cf60a.tar.gz
dokka-5afe512c669e68aea3712ac37b67d005657cf60a.tar.bz2
dokka-5afe512c669e68aea3712ac37b67d005657cf60a.zip
Suppress inherited members (#1814)
Diffstat (limited to 'runners/maven-plugin/src/main')
-rw-r--r--runners/maven-plugin/src/main/kotlin/DokkaMojo.kt4
1 files changed, 4 insertions, 0 deletions
diff --git a/runners/maven-plugin/src/main/kotlin/DokkaMojo.kt b/runners/maven-plugin/src/main/kotlin/DokkaMojo.kt
index 3e1916a6..5228f44b 100644
--- a/runners/maven-plugin/src/main/kotlin/DokkaMojo.kt
+++ b/runners/maven-plugin/src/main/kotlin/DokkaMojo.kt
@@ -159,6 +159,9 @@ abstract class AbstractDokkaMojo(private val defaultDokkaPlugins: List<Dependenc
@Parameter(defaultValue = "${DokkaDefaults.suppressObviousFunctions}")
var suppressObviousFunctions: Boolean = DokkaDefaults.suppressObviousFunctions
+ @Parameter(defaultValue = "${DokkaDefaults.suppressInheritedMembers}")
+ var suppressInheritedMembers: Boolean = DokkaDefaults.suppressInheritedMembers
+
@Parameter
var dokkaPlugins: List<Dependency> = emptyList()
get() = field + defaultDokkaPlugins
@@ -248,6 +251,7 @@ abstract class AbstractDokkaMojo(private val defaultDokkaPlugins: List<Dependenc
modules = emptyList(),
failOnWarning = failOnWarning,
suppressObviousFunctions = suppressObviousFunctions,
+ suppressInheritedMembers = suppressInheritedMembers,
)
val gen = DokkaGenerator(configuration, logger)