Gradle Dokka Source Set Builder
Source set level configuration.
Can be configured in the following way with Gradle Kotlin DSL:
import org.jetbrains.dokka.gradle.DokkaTask
tasks.dokkaHtml {
dokkaSourceSets {
// configure individual source set by name
named("customSourceSet") {
suppress.set(true)
}
// configure all source sets at once
configureEach {
reportUndocumented.set(true)
}
}
}Constructors
Functions
Convenient override to append source sets to dependentSourceSets
Closure for configuring external documentation links, appending to externalDocumentationLinks.
Action for configuring external documentation links, appending to externalDocumentationLinks.
Convenient override to append external documentation links to externalDocumentationLinks.
Closure for configuring package options, appending to perPackageOptions.
Action for configuring package options, appending to perPackageOptions.
Closure for configuring source links, appending to sourceLinks.
Action for configuring source links, appending to sourceLinks.
Convenient override to append source roots to sourceRoots
Properties
Kotlin API version used for setting up analysis and @sample environment.
List of Markdown files that contain module and package documentation.
Kotlin language version used for setting up analysis and @sample environment.
Whether to emit warnings about visible undocumented declarations, that is declarations without KDocs after they have been filtered by documentedVisibilities.
Whether to document declarations annotated with Deprecated.
Specifies the location of the project source code on the Web. If provided, Dokka generates "source" links for each declaration. See GradleSourceLinkBuilder for more details.
Extensions
Convenient override to append source sets to GradleDokkaSourceSetBuilder.dependentSourceSets
Extension allowing configuration of Dokka source sets via Kotlin Gradle plugin source sets.