From de467837f061b821c423f0171ba62b757d91a47e Mon Sep 17 00:00:00 2001 From: Graham Date: Thu, 16 Apr 2020 21:19:16 +0100 Subject: [PATCH] Add externalDocumentationLinks Signed-off-by: Graham --- build.gradle.kts | 69 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) diff --git a/build.gradle.kts b/build.gradle.kts index 0c272eb8f7..2e30d4d34e 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,6 +1,7 @@ import org.jetbrains.kotlin.gradle.plugin.KotlinPluginWrapper import org.jetbrains.kotlin.gradle.tasks.KotlinCompile import java.io.ByteArrayOutputStream +import java.net.URL defaultTasks("build") @@ -230,6 +231,74 @@ tasks.dokka { url = "https://git.openrs2.dev/openrs2/openrs2/src/commit/${commitHash()}" lineSuffix = "#L" } + + externalDocumentationLink { + url = URL("https://asm.ow2.io/javadoc/") + } + + externalDocumentationLink { + url = URL("https://www.bouncycastle.org/docs/docs1.5on/") + } + + externalDocumentationLink { + url = URL("https://www.bouncycastle.org/docs/pkixdocs1.5on/") + } + + externalDocumentationLink { + url = URL("https://ajalt.github.io/clikt/api/clikt/") + } + + externalDocumentationLink { + url = URL("https://commons.apache.org/proper/commons-compress/javadocs/api-${Versions.commonsCompress}/") + } + + externalDocumentationLink { + url = URL("https://guava.dev/releases/${Versions.guava}/api/docs/") + } + + externalDocumentationLink { + url = URL("https://google.github.io/guice/api-docs/${Versions.guice}/javadoc/") + } + + val jacksonVersion = Versions.jackson.split(".") + .take(2) + .joinToString(".") + + externalDocumentationLink { + url = URL("https://fasterxml.github.io/jackson-annotations/javadoc/$jacksonVersion/") + } + + externalDocumentationLink { + url = URL("https://fasterxml.github.io/jackson-core/javadoc/$jacksonVersion/") + } + + externalDocumentationLink { + url = URL("https://fasterxml.github.io/jackson-databind/javadoc/$jacksonVersion/") + } + + externalDocumentationLink { + url = URL("https://fasterxml.github.io/jackson-dataformats-text/javadoc/yaml/$jacksonVersion/") + } + + externalDocumentationLink { + url = URL("http://www.jdom.org/docs/apidocs/") + } + + externalDocumentationLink { + url = URL("https://google.github.io/jimfs/releases/${Versions.jimfs}/api/docs/") + } + + externalDocumentationLink { + url = URL("https://junit.org/junit5/docs/${Versions.junit}/api/") + } + + externalDocumentationLink { + val version = Versions.netty.split(".") + .take(2) + .joinToString(".") + + url = URL("https://netty.io/$version/api/") + } } }