Skip to content

Commit

Permalink
Fix maven publish error
Browse files Browse the repository at this point in the history
  • Loading branch information
KCodeYT authored and SupremeMortal committed Aug 16, 2024
1 parent 0ea350e commit a69dee4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions common/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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<GenerateModuleMetadata> {
suppressedValidationErrors.add("enforced-platform")
}

0 comments on commit a69dee4

Please sign in to comment.