Skip to content

Commit 8746370

Browse files
committed
Link to @API Guardian Javadoc from published Javadoc
1 parent 2fdac10 commit 8746370

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

build.gradle

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,6 +466,7 @@ configure(rootProject) {
466466
uploadArchives.enabled = false
467467

468468
def ota4jDocVersion = ota4jVersion.contains('SNAPSHOT') ? 'snapshot' : ota4jVersion
469+
def apiGuardianDocVersion = apiGuardianVersion.contains('SNAPSHOT') ? 'snapshot' : apiGuardianVersion
469470

470471
task aggregateJavadocs(type: Javadoc) {
471472
group = "Documentation"
@@ -485,7 +486,11 @@ configure(rootProject) {
485486
options.addStringOption('Xdoclint:none', '-quiet')
486487
options.encoding = 'UTF-8'
487488
options.jFlags '-Xmx1g'
488-
options.links 'https://docs.oracle.com/javase/8/docs/api/', "http://ota4j-team.github.io/opentest4j/docs/${ota4jDocVersion}/api/"
489+
options.links(
490+
'https://docs.oracle.com/javase/8/docs/api/',
491+
"https://ota4j-team.github.io/opentest4j/docs/${ota4jDocVersion}/api/",
492+
"https://apiguardian-team.github.io/apiguardian/docs/${apiGuardianDocVersion}/api/"
493+
)
489494
options.stylesheetFile rootProject.file("src/javadoc/stylesheet.css")
490495
options
491496
.group("Jupiter", ["org.junit.jupiter.*"])

0 commit comments

Comments
 (0)