Skip to content

Commit 987fa44

Browse files
stainless-app[bot]stainless-bot
authored andcommitted
chore(internal): fix release (#163)
1 parent 247c05a commit 987fa44

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

build.gradle.kts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,10 @@ allprojects {
1414
subprojects {
1515
apply(plugin = "org.jetbrains.dokka")
1616
}
17+
18+
// Avoid race conditions between `dokkaJavadocCollector` and `dokkaJavadocJar` tasks
19+
tasks.named("dokkaJavadocCollector").configure {
20+
subprojects.flatMap { it.tasks }
21+
.filter { it.project.name != "openai-java" && it.name == "dokkaJavadocJar" }
22+
.forEach { mustRunAfter(it) }
23+
}

0 commit comments

Comments
 (0)