You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bookkeeper.apache.org by pr...@apache.org on 2022/02/22 19:25:03 UTC

[bookkeeper] branch master updated: fix gradle publishToMavenLocal failed (#3069)

This is an automated email from the ASF dual-hosted git repository.

prashantkumar pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/bookkeeper.git


The following commit(s) were added to refs/heads/master by this push:
     new 5b9b06f  fix gradle publishToMavenLocal failed (#3069)
5b9b06f is described below

commit 5b9b06f1aeb4a02ed9c8b9fa7669b1bc7ae33d5f
Author: Hang Chen <ch...@apache.org>
AuthorDate: Wed Feb 23 03:24:57 2022 +0800

    fix gradle publishToMavenLocal failed (#3069)
---
 build.gradle | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/build.gradle b/build.gradle
index fc7b665..21843de 100644
--- a/build.gradle
+++ b/build.gradle
@@ -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 {