I'm trying to customize the content of the generat...
# dokka
m
I'm trying to customize the content of the generated HTML of a multi module project but this task does not apply it for some reason (I've added the plugins and everything else works except this one I put in the root of the gradle.build.kts):
Copy code
tasks.withType<DokkaTask>().configureEach {
    pluginConfiguration<DokkaBase, DokkaBaseConfiguration> {
        customAssets = listOf(file("logo.png"))
        customStyleSheets = listOf(file("my-styles.css"))
        footerMessage = "(c) 2022-2023 Project"
        separateInheritedMembers = false
        templatesDir = file("dokka/templates")
        mergeImplicitExpectActualDeclarations = false
    }
}
i
Try to change
DokkaTask
to
DokkaTaskPartial
and apply it for all subprojects It's explained to a degree here: https://kotlinlang.org/docs/dokka-gradle.html#multi-project-configuration
m
Sweet! Thanks for that. I must have missed it yesterday for some strange reason.