diff --git a/common/build.gradle.kts b/common/build.gradle.kts index c70ed15fb..6128feb8e 100644 --- a/common/build.gradle.kts +++ b/common/build.gradle.kts @@ -1,6 +1,6 @@ dependencies { api(libs.netty.buffer) - api(enforcedPlatform(libs.fastutil.bom)) + api(platform(libs.fastutil.bom)) api(libs.fastutil.int.`object`.maps) api(libs.fastutil.`object`.int.maps) api(libs.math) @@ -11,9 +11,4 @@ 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