David Rubio
09/17/2021, 11:59 AMseparateInheritedMembers
or suppressInheritedMembers
in a multimodule Android project, in Groovy? I want to configure everything from the root project, if possible.Marcin Aman
09/17/2021, 12:03 PMDavid Rubio
09/17/2021, 12:12 PMsubprojects {
tasks.named("dokkaHtmlPartial") {
//outputDirectory.set(buildDir.resolve("dokka"))
}
}
then it complains that this task doesn't exist in some subprojects.Marcin Aman
09/17/2021, 12:13 PMDavid Rubio
09/17/2021, 12:14 PMDavid Rubio
09/17/2021, 12:15 PMtasks.withType(dokkaHtml.getClass()).configureEach {
dokkaSourceSets {
configureEach {
includes = listOf("README.md", "packages.md")
pluginsMapConfiguration.set(
["org.jetbrains.dokka.base.DokkaBase": """{
"separateInheritedMembers": true
}"""]
)
}
}
}
but also doesn't seem to workMarcin Aman
09/17/2021, 12:15 PMtasks.named….
with thisDavid Rubio
09/17/2021, 1:36 PMsubprojects {
pluginManager.withPlugin('org.jetbrains.dokka') {
tasks.named("dokkaHtmlPartial") {
//outputDirectory.set(new File(buildDir.getPath() + "/dokka"))
pluginsMapConfiguration.set(
["org.jetbrains.dokka.base.DokkaBase": """{
"separateInheritedMembers": true
}"""]
)
//suppressInheritedMembers.set(true)
dokkaSourceSets {
configureEach {
//includes.from('README.md', 'modules.md', 'packages.md')
}
}
}
}
}