Skip to content

Commit

Permalink
fix: 更新dokka到 1.9.0 并修复与 kapt 冲突的问题([#3153](Kotlin/dokka#3153))
Browse files Browse the repository at this point in the history
  • Loading branch information
ForteScarlet committed Sep 25, 2023
1 parent 8b14b21 commit f4cbbc0
Showing 1 changed file with 5 additions and 0 deletions.
Expand Up @@ -24,6 +24,11 @@ tasks.named("dokkaHtml").configure {
dependsOn(kaptKotlinTask)
}
}
tasks.named("dokkaHtmlPartial").configure {
tasks.findByName("kaptKotlin")?.also { kaptKotlinTask ->
dependsOn(kaptKotlinTask)
}
}

tasks.withType<org.jetbrains.dokka.gradle.DokkaTaskPartial>().configureEach {
dokkaSourceSets.configureEach {
Expand Down

0 comments on commit f4cbbc0

Please sign in to comment.