Skip to content

Commit

Permalink
Use platform instead of enforcedPlatform
Browse files Browse the repository at this point in the history
  • Loading branch information
KCodeYT authored and SupremeMortal committed Aug 16, 2024
1 parent a69dee4 commit a9e7ca6
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions common/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -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)
Expand All @@ -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<GenerateModuleMetadata> {
suppressedValidationErrors.add("enforced-platform")
}

0 comments on commit a9e7ca6

Please sign in to comment.