From 0d8db50283d16f8396a10861b124474a9dcf4d75 Mon Sep 17 00:00:00 2001 From: Pyrofab Date: Fri, 25 Oct 2024 23:56:26 +0200 Subject: [PATCH] Fix javadoc generation --- build.gradle.kts | 9 ++++----- .../org/ladysnake/cca/api/v3/level/package-info.java | 2 +- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index f84e0a70..6ee6e38f 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -107,11 +107,10 @@ tasks.javadoc { memberLevel = JavadocMemberLevel.PACKAGE links( "https://guava.dev/releases/21.0/api/docs/", - "https://asm.ow2.io/javadoc/", - "https://docs.oracle.com/javase/8/docs/api/", - "http://jenkins.liteloader.com/job/Mixin/javadoc/", - "https://logging.apache.org/log4j/2.x/log4j-api/apidocs/" - // Need to add minecraft jd publication etc once there is one available + "https://docs.oracle.com/en/java/javase/21/docs/api/", + "https://jenkins.liteloader.com/job/Mixin/javadoc/", + "https://logging.apache.org/log4j/2.x/javadoc/log4j-api/", + "https://maven.fabricmc.net/docs/yarn-${project.property("minecraft_version")}+build.${project.property("yarn_mappings")}/" ) // Disable the crazy super-strict doclint tool in Java 8 addStringOption("Xdoclint:none", "-quiet") diff --git a/cardinal-components-level/src/main/java/org/ladysnake/cca/api/v3/level/package-info.java b/cardinal-components-level/src/main/java/org/ladysnake/cca/api/v3/level/package-info.java index fe1dca06..b70eeddb 100644 --- a/cardinal-components-level/src/main/java/org/ladysnake/cca/api/v3/level/package-info.java +++ b/cardinal-components-level/src/main/java/org/ladysnake/cca/api/v3/level/package-info.java @@ -21,7 +21,7 @@ * OR OTHER DEALINGS IN THE SOFTWARE. */ /** - * @deprecated level components are a legacy feature that has been superseded by scoreboard components + * Deprecated: level components are a legacy feature that has been superseded by scoreboard components */ @Deprecated(since = "6.0.0") @MethodsReturnNonnullByDefault