Skip to content

Commit

Permalink
fix gradle publishToMavenLocal failed
Browse files Browse the repository at this point in the history
  • Loading branch information
hangc0276 committed Feb 19, 2022
1 parent 7018d2f commit 5f091a6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build.gradle
Expand Up @@ -328,6 +328,12 @@ allprojects {
implementation(enforcedPlatform(depLibs.guavaBom))
}

tasks.withType(GenerateModuleMetadata).configureEach {
// The value 'enforced-platform' is provided in the validation
// error message you got
suppressedValidationErrors.add('enforced-platform')
}

}

repositories {
Expand Down

0 comments on commit 5f091a6

Please sign in to comment.