Skip to content

Commit

Permalink
Merge pull request #192 from teogor/dokka-task-refinement
Browse files Browse the repository at this point in the history
Focus Dokka Multi-Module on Relevant Modules (Exclude bom & app)
  • Loading branch information
teogor authored Apr 15, 2024
2 parents 26952fe + 845e724 commit 72461d4
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -222,8 +222,13 @@ subprojects {
}

tasks.dokkaHtmlMultiModule {
childProjects.values.forEach {
dependsOn(":${it.name}:dokkaHtmlMultiModule")
childProjects.values.map {
it.name
}.filter {
it != "app" && it != "bom"
}.forEach {
val taskPath = ":${it}:dokkaHtmlMultiModule"
dependsOn(taskPath)
}
}

Expand Down

0 comments on commit 72461d4

Please sign in to comment.