diff --git a/Bukkit/build.gradle.kts b/Bukkit/build.gradle.kts index 0207c2a6a..8d925d183 100644 --- a/Bukkit/build.gradle.kts +++ b/Bukkit/build.gradle.kts @@ -95,11 +95,11 @@ tasks.named("shadowJar") { tasks { withType { val opt = options as StandardJavadocDocletOptions - opt.links("https://papermc.io/javadocs/paper/1.17/") - opt.links("https://docs.enginehub.org/javadoc/com.sk89q.worldedit/worldedit-core/7.2.7/") - opt.links("https://docs.enginehub.org/javadoc/com.sk89q.worldedit/worldedit-bukkit/7.2.7/") - opt.links("https://jd.adventure.kyori.net/api/4.9.3/") - opt.links("https://google.github.io/guice/api-docs/5.0.1/javadoc/") + opt.links("https://papermc.io/javadocs/paper/1.18/") + opt.links("https://docs.enginehub.org/javadoc/com.sk89q.worldedit/worldedit-bukkit/" + libs.worldeditBukkit.get().versionConstraint.toString()) + opt.links("https://javadoc.io/doc/com.plotsquared/PlotSquared-Core/latest/") + opt.links("https://jd.adventure.kyori.net/api/" + libs.adventure.get().versionConstraint.toString()) + opt.links("https://google.github.io/guice/api-docs/" + libs.guice.get().versionConstraint.toString() + "/javadoc/") opt.links("https://checkerframework.org/api/") } } diff --git a/Core/build.gradle.kts b/Core/build.gradle.kts index c1fdea943..fa79fa3bb 100644 --- a/Core/build.gradle.kts +++ b/Core/build.gradle.kts @@ -54,3 +54,13 @@ tasks.processResources { ) } } + +tasks { + withType { + 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.adventure.kyori.net/api/" + libs.adventure.get().versionConstraint.toString()) + opt.links("https://google.github.io/guice/api-docs/" + libs.guice.get().versionConstraint.toString() + "/javadoc/") + opt.links("https://checkerframework.org/api/") + } +}