Skip to content

Commit

Permalink
chore: exclude grpc-android from bom validation (#6189)
Browse files Browse the repository at this point in the history
* chore: exclude grpc-android from bom validation
  • Loading branch information
mpeddada1 authored Sep 19, 2023
1 parent 9105347 commit b44a994
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,15 @@ private static String calculateDependenciesSection(Bom bom) {
continue;
}

// Skipping grpc-android as it is not used by Google Cloud Client Libraries for Java. Checking
// for availability of
// this unused artifact on Maven Central has caused BOM validation check to fail in the past.
// See
// https://github.com/googleapis/sdk-platform-java/pull/1989#issuecomment-1724039670
if ("grpc-android".equals(managedDependency.getArtifactId())) {
continue;
}

builder.append(" <dependency>\n");
builder
.append(" <groupId>")
Expand Down

0 comments on commit b44a994

Please sign in to comment.