Skip to content

Commit 3c97360

Browse files
Fix New Gradl DSL code snippet
1 parent 6e6381e commit 3c97360

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/topics/dokka-migration.md

+6
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,12 @@ dokka {
171171
class CustomPlugin : Plugin<Project> {
172172
override fun apply(project: Project) {
173173
project.extensions.configure<DokkaExtension> {
174+
175+
dokkaPublications.named("html") {
176+
suppressInheritedMembers.set(true)
177+
failOnWarning.set(true)
178+
}
179+
174180
dokkaSourceSets.named("main") {
175181
includes.from("README.md")
176182
sourceLink {

0 commit comments

Comments
 (0)