File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -140,8 +140,7 @@ val jdkJavadocBaseUrl = "https://docs.oracle.com/en/java/javase/${JavaVersion.cu
140
140
val elementListsDir = layout.buildDirectory.dir(" elementLists" )
141
141
val externalModulesWithoutModularJavadoc = mapOf (
142
142
" org.apiguardian.api" to " https://apiguardian-team.github.io/apiguardian/docs/$apiGuardianDocVersion /api/" ,
143
- " org.assertj.core" to " https://javadoc.io/doc/org.assertj/assertj-core/${libs.versions.assertj.get()} /" ,
144
- " org.opentest4j" to " https://ota4j-team.github.io/opentest4j/docs/$ota4jDocVersion /api/"
143
+ " org.opentest4j" to " https://ota4j-team.github.io/opentest4j/docs/1.3.0/api/" ,
145
144
)
146
145
require(externalModulesWithoutModularJavadoc.values.all { it.endsWith(" /" ) }) {
147
146
" all base URLs must end with a trailing slash: $externalModulesWithoutModularJavadoc "
@@ -419,6 +418,10 @@ tasks {
419
418
420
419
links(jdkJavadocBaseUrl)
421
420
links(" https://junit.org/junit4/javadoc/${libs.versions.junit4.get()} /" )
421
+ val assertJVersion = libs.versions.assertj.get()
422
+ if (! assertJVersion.endsWith(" -SNAPSHOT" )) {
423
+ links(" https://javadoc.io/doc/org.assertj/assertj-core/$assertJVersion /" )
424
+ }
422
425
externalModulesWithoutModularJavadoc.forEach { (moduleName, baseUrl) ->
423
426
linksOffline(baseUrl, elementListsDir.get().asFile.resolve(moduleName).absolutePath)
424
427
}
You can’t perform that action at this time.
0 commit comments