Skip to content

Commit

Permalink
Fix publication workflow, again (#1068)
Browse files Browse the repository at this point in the history
  • Loading branch information
serras authored Mar 15, 2023
1 parent d8906ba commit 2dafda4
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,17 @@ tasks {
}
}

// declare Dokka implicit dependencies
val libNames = listOf("arrow-meta", "arrow-meta-test", "arrow-gradle-plugin-commons")
task("docsJar") {
dependsOn(tasks.getByPath(":arrow-gradle-plugin-commons:dokkaHtml"))
libNames.forEach {
dependsOn(tasks.getByPath(":${it}:dokkaHtml"))
}
}
libNames.forEach { task ->
libNames.forEach {
tasks.getByPath(":${task}:docsJar").dependsOn(":${it}:dokkaHtml")
}
}

allprojects {
Expand Down

0 comments on commit 2dafda4

Please sign in to comment.