Skip to content

Commit

Permalink
Merge pull request #1160 from SimonMarquis/patch-1
Browse files Browse the repository at this point in the history
Fix `dokkaJavadoc` publishing task
  • Loading branch information
Raibaz committed Sep 22, 2023
2 parents 3261aff + 81a9ec6 commit 4108f89
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,12 @@ dependencies {
androidTestUtil("androidx.test:orchestrator:${Deps.Versions.androidxOrchestrator}")
}

// Fix: Task 'dokkaJavadoc' uses this output of task 'kaptReleaseKotlin' without declaring an explicit or implicit dependency.
tasks.dokkaJavadoc.configure {
mustRunAfter(tasks.named("kaptDebugKotlin"))
mustRunAfter(tasks.named("kaptReleaseKotlin"))
}

val javadocJar by tasks.registering(Jar::class) {
from(tasks.dokkaJavadoc)
archiveClassifier.set("javadoc")
Expand Down

0 comments on commit 4108f89

Please sign in to comment.