Skip to content

Commit 72461d4

Browse files
authored
Merge pull request #192 from teogor/dokka-task-refinement
Focus Dokka Multi-Module on Relevant Modules (Exclude bom & app)
2 parents 26952fe + 845e724 commit 72461d4

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

build.gradle.kts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,8 +222,13 @@ subprojects {
222222
}
223223

224224
tasks.dokkaHtmlMultiModule {
225-
childProjects.values.forEach {
226-
dependsOn(":${it.name}:dokkaHtmlMultiModule")
225+
childProjects.values.map {
226+
it.name
227+
}.filter {
228+
it != "app" && it != "bom"
229+
}.forEach {
230+
val taskPath = ":${it}:dokkaHtmlMultiModule"
231+
dependsOn(taskPath)
227232
}
228233
}
229234

0 commit comments

Comments
 (0)