diff options
author | Martin Bonnin <martin@mbonnin.net> | 2020-11-18 12:48:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-18 12:48:03 +0100 |
commit | 1959b914c0838be814d45f617517ac73fa33cd47 (patch) | |
tree | 899805a421b45625ceffd599520a3f3e3d237e5a /runners/maven-plugin | |
parent | d6c798e44381fd436a264229f94f19528382c136 (diff) | |
download | dokka-1959b914c0838be814d45f617517ac73fa33cd47.tar.gz dokka-1959b914c0838be814d45f617517ac73fa33cd47.tar.bz2 dokka-1959b914c0838be814d45f617517ac73fa33cd47.zip |
Add matchingRegex (#598)
* add matchingRegex as a simpler replacement for `prefix`
* remove useless check
* added a note about the order of the matchingRegex
Diffstat (limited to 'runners/maven-plugin')
-rw-r--r-- | runners/maven-plugin/src/main/kotlin/DokkaMojo.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runners/maven-plugin/src/main/kotlin/DokkaMojo.kt b/runners/maven-plugin/src/main/kotlin/DokkaMojo.kt index b03d2811..00ace0f9 100644 --- a/runners/maven-plugin/src/main/kotlin/DokkaMojo.kt +++ b/runners/maven-plugin/src/main/kotlin/DokkaMojo.kt @@ -66,7 +66,7 @@ abstract class AbstractDokkaMojo(private val defaultDokkaPlugins: List<Dependenc class PackageOptions : DokkaConfiguration.PackageOptions { @Parameter - override var prefix: String = "" + override var matchingRegex: String = ".*" @Parameter override var includeNonPublic: Boolean = DokkaDefaults.includeNonPublic @@ -203,7 +203,7 @@ abstract class AbstractDokkaMojo(private val defaultDokkaPlugins: List<Dependenc sourceLinks = sourceLinks.map { SourceLinkDefinitionImpl(it.path, URL(it.url), it.lineSuffix) }.toSet(), perPackageOptions = perPackageOptions.map { PackageOptionsImpl( - prefix = it.prefix, + matchingRegex = it.matchingRegex, includeNonPublic = it.includeNonPublic, reportUndocumented = it.reportUndocumented, skipDeprecated = it.skipDeprecated, |