Skip to content

Commit

Permalink
ignore reference errors (in generated openapi code)
Browse files Browse the repository at this point in the history
  • Loading branch information
snazy committed Aug 26, 2024
1 parent 898918e commit 1fbb605
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build-logic/src/main/kotlin/polaris-java.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,9 @@ spotless {
}

dependencies { errorprone(versionCatalogs.named("libs").findLibrary("errorprone").get()) }

tasks.withType<Javadoc>().configureEach {
val opt = options as CoreJavadocOptions
// don't spam log w/ "warning: no @param/@return"
opt.addStringOption("Xdoclint:-reference", "-quiet")
}

0 comments on commit 1fbb605

Please sign in to comment.