From 613b9733095bbc8e0d82beb375e4eff90ea24c29 Mon Sep 17 00:00:00 2001 From: NotMyFault Date: Wed, 18 Aug 2021 11:26:14 +0200 Subject: [PATCH] Add javadoc linking --- buildSrc/src/main/kotlin/PlatformConfig.kt | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/buildSrc/src/main/kotlin/PlatformConfig.kt b/buildSrc/src/main/kotlin/PlatformConfig.kt index 70413fcd8..97efa2d89 100644 --- a/buildSrc/src/main/kotlin/PlatformConfig.kt +++ b/buildSrc/src/main/kotlin/PlatformConfig.kt @@ -1,15 +1,12 @@ import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar -import org.gradle.api.JavaVersion import org.gradle.api.Project import org.gradle.api.attributes.java.TargetJvmVersion -import org.gradle.api.plugins.JavaPluginConvention import org.gradle.api.tasks.bundling.Jar import org.gradle.api.tasks.compile.JavaCompile import org.gradle.api.tasks.javadoc.Javadoc import org.gradle.api.tasks.testing.Test import org.gradle.external.javadoc.StandardJavadocDocletOptions import org.gradle.kotlin.dsl.apply -import org.gradle.kotlin.dsl.configure import org.gradle.kotlin.dsl.dependencies import org.gradle.kotlin.dsl.get import org.gradle.kotlin.dsl.getByName @@ -73,6 +70,15 @@ fun Project.applyPlatformAndCoreConfiguration() { "implNote:a:Implementation Note:" ) options.encoding = "UTF-8" + links( + "https://javadoc.io/doc/com.google.code.findbugs/jsr305/3.0.2/", + "https://jd.adventure.kyori.net/api/4.8.1/", + "https://javadoc.io/doc/org.apache.logging.log4j/log4j-api/2.14.1/", + "https://javadoc.io/doc/com.google.guava/guava/21.0/", + "https://www.antlr.org/api/Java/", + "https://docs.enginehub.org/javadoc/org.enginehub.piston/core/0.5.7/", + "https://docs.enginehub.org/javadoc/org.enginehub.piston/default-impl/0.5.7/" + ) } }