diff --git a/Bukkit/build.gradle.kts b/Bukkit/build.gradle.kts index b5bc5d7b4..a254af980 100644 --- a/Bukkit/build.gradle.kts +++ b/Bukkit/build.gradle.kts @@ -104,7 +104,7 @@ tasks { opt.links("https://jd.papermc.io/paper/1.20/") opt.links("https://docs.enginehub.org/javadoc/com.sk89q.worldedit/worldedit-bukkit/" + libs.worldeditBukkit.get().versionConstraint.toString()) opt.links("https://intellectualsites.github.io/plotsquared-javadocs/core/") - opt.links("https://jd.advntr.dev/api/4.14.0/") + opt.links("https://jd.advntr.dev/api/" + libs.adventureApi.get().versionConstraint.toString()) opt.links("https://google.github.io/guice/api-docs/" + libs.guice.get().versionConstraint.toString() + "/javadoc/") opt.links("https://checkerframework.org/api/") opt.isLinkSource = true diff --git a/Core/build.gradle.kts b/Core/build.gradle.kts index 70563aa2a..5b7367be0 100644 --- a/Core/build.gradle.kts +++ b/Core/build.gradle.kts @@ -68,8 +68,8 @@ tasks { val isRelease = if (rootProject.version.toString().endsWith("-SNAPSHOT")) "TODO" else rootProject.version.toString() val opt = options as StandardJavadocDocletOptions opt.links("https://docs.enginehub.org/javadoc/com.sk89q.worldedit/worldedit-core/" + libs.worldeditCore.get().versionConstraint.toString()) - opt.links("https://jd.advntr.dev/api/4.14.0/") - opt.links("https://jd.advntr.dev/text-minimessage/4.14.0/") + opt.links("https://jd.advntr.dev/api/" + libs.adventureApi.get().versionConstraint.toString()) + opt.links("https://jd.advntr.dev/text-minimessage/" + libs.adventureApi.get().versionConstraint.toString()) opt.links("https://google.github.io/guice/api-docs/" + libs.guice.get().versionConstraint.toString() + "/javadoc/") opt.links("https://checkerframework.org/api/") opt.isLinkSource = true