From a69dee4103b2b21108f8a2434a8e7e5f44561cfc Mon Sep 17 00:00:00 2001 From: Kevims Date: Fri, 16 Aug 2024 17:18:56 +0200 Subject: [PATCH] Fix maven publish error --- common/build.gradle.kts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/common/build.gradle.kts b/common/build.gradle.kts index c76b309a1..c70ed15fb 100644 --- a/common/build.gradle.kts +++ b/common/build.gradle.kts @@ -11,4 +11,9 @@ tasks.jar { manifest { attributes("Automatic-Module-Name" to "org.cloudburstmc.protocol.common") } +} + +// https://docs.gradle.org/8.0.1/userguide/publishing_setup.html#sec:suppressing_validation_errors +tasks.withType { + suppressedValidationErrors.add("enforced-platform") } \ No newline at end of file