fix(docs): fix dokka configuration syntax in root build file
Some checks failed
Update Wiki Documentation / generate-docs (push) Failing after 1m35s
Some checks failed
Update Wiki Documentation / generate-docs (push) Failing after 1m35s
This commit is contained in:
@@ -6,8 +6,14 @@ plugins {
|
|||||||
|
|
||||||
// Global Dokka configuration for Wiki
|
// Global Dokka configuration for Wiki
|
||||||
subprojects {
|
subprojects {
|
||||||
plugins.withType<org.jetbrains.dokka.gradle.DokkaPlugin> {
|
plugins.withId("org.jetbrains.dokka") {
|
||||||
// Let Dokka use its default output directories (build/dokka/gfm)
|
tasks.withType<org.jetbrains.dokka.gradle.DokkaTask>().configureEach {
|
||||||
// to ensure multi-module generation works correctly.
|
dokkaSourceSets {
|
||||||
|
named("main") {
|
||||||
|
sourceRoots.from(file("src/main/java"))
|
||||||
|
sourceRoots.from(file("src/main/kotlin"))
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user