Skip to content

Commit

Permalink
Fix documentation task (#508)
Browse files Browse the repository at this point in the history
Gradle is more keen to break when tasks are modelled ambiguously.

In this case, the dokkaHtmlPartial task is using output from kaptKotlin, but it's not declared as an input.

To fix this issue, I added a dependsOn -- I couldn't find outputs from kaptKotlin to attach
  • Loading branch information
timyates authored May 26, 2023
1 parent 3894647 commit 82c7497
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,7 @@ plugins {
id "io.micronaut.build.internal.kotlin-base"
id "io.micronaut.build.internal.module"
}

dokkaHtmlPartial {
dependsOn("kaptKotlin")
}
1 change: 0 additions & 1 deletion kotlin-runtime/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,3 @@ dependencies {
test {
useJUnitPlatform()
}

0 comments on commit 82c7497

Please sign in to comment.