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
140140val elementListsDir = layout.buildDirectory.dir(" elementLists" )
141141val externalModulesWithoutModularJavadoc = mapOf (
142142 " 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/" ,
145144)
146145require(externalModulesWithoutModularJavadoc.values.all { it.endsWith(" /" ) }) {
147146 " all base URLs must end with a trailing slash: $externalModulesWithoutModularJavadoc "
@@ -419,6 +418,10 @@ tasks {
419418
420419 links(jdkJavadocBaseUrl)
421420 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+ }
422425 externalModulesWithoutModularJavadoc.forEach { (moduleName, baseUrl) ->
423426 linksOffline(baseUrl, elementListsDir.get().asFile.resolve(moduleName).absolutePath)
424427 }
You can’t perform that action at this time.
0 commit comments