From da3fb1abec543c460c8035d88a7fcc5c3c77db60 Mon Sep 17 00:00:00 2001 From: NotMyFault Date: Tue, 7 Sep 2021 13:52:47 +0200 Subject: [PATCH] Closes #3236 --- Bukkit/build.gradle.kts | 2 +- build.gradle.kts | 5 +++++ gradle/libs.versions.toml | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Bukkit/build.gradle.kts b/Bukkit/build.gradle.kts index 38da249cf..d1cd8300b 100644 --- a/Bukkit/build.gradle.kts +++ b/Bukkit/build.gradle.kts @@ -93,7 +93,7 @@ tasks { opt.links("https://papermc.io/javadocs/paper/1.17/") opt.links("https://docs.enginehub.org/javadoc/com.sk89q.worldedit/worldedit-core/7.2.6/") opt.links("https://docs.enginehub.org/javadoc/com.sk89q.worldedit/worldedit-bukkit/7.2.6/") - opt.links("https://jd.adventure.kyori.net/api/4.9.0/") + opt.links("https://jd.adventure.kyori.net/api/4.9.1/") opt.links("https://google.github.io/guice/api-docs/5.0.1/javadoc/") opt.links("https://checkerframework.org/api/") } diff --git a/build.gradle.kts b/build.gradle.kts index a51f39d94..721c918cc 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -96,6 +96,11 @@ allprojects { withJavadocJar() } + val javaComponent = components["java"] as AdhocComponentWithVariants + javaComponent.withVariantsFromConfiguration(configurations["shadowRuntimeElements"]) { + skip() + } + signing { if (!version.toString().endsWith("-SNAPSHOT")) { signing.isRequired diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 85dacc432..a509c767a 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -12,7 +12,7 @@ findbugs = "3.0.1" snakeyaml = "1.28" # Version set by Bukkit # Adventure & MiniMessage -adventure-api = "4.9.0" +adventure-api = "4.9.1" adventure-text-minimessage = "4.1.0-SNAPSHOT" adventure-platform-bukkit = "4.0.0-SNAPSHOT"