Skip to content

Commit

Permalink
add modules to javadoc too
Browse files Browse the repository at this point in the history
  • Loading branch information
SirYwell committed Sep 1, 2024
1 parent 5b9f94a commit 628e042
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions buildSrc/src/main/kotlin/CommonJavaConfig.kt
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,14 @@ fun Project.applyCommonJavaConfiguration(sourcesJar: Boolean, banSlf4j: Boolean
tasks.withType<Javadoc>().configureEach {
(options as StandardJavadocDocletOptions).apply {
addStringOption("Xdoclint:none", "-quiet")
addStringOption("-add-modules", "jdk.incubator.vector")
tags(
"apiNote:a:API Note:",
"implSpec:a:Implementation Requirements:",
"implNote:a:Implementation Note:"
)
options.encoding = "UTF-8"

links(
"https://jd.advntr.dev/api/latest/",
"https://logging.apache.org/log4j/2.x/javadoc/log4j-api/",
Expand Down

0 comments on commit 628e042

Please sign in to comment.