Details
-
Bug
-
Status: Resolved
-
P2
-
Resolution: Workaround
-
None
-
None
Description
permitUnusedDeclared does not work with any libraries that derive their versions from the GCP bom. The only way to get the dependency checker working for these libraries is to hardcode their version numbers, which defeats the purpose of using the bom in the first place.
e.g. "permitUnusedDeclared library.java.proto_google_common_protos" results in this error:
- What went wrong:
Could not determine the dependencies of task ':sdks:java:extensions:sql:zetasql:analyzeClassesDependencies'.
> Could not resolve all dependencies for configuration ':sdks:java:extensions:sql:zetasql:permitUnusedDeclared'.
> Could not find com.google.api.grpc:grpc-google-common-protos:.
Required by:
project :sdks:java:extensions:sql:zetasql
Attachments
Issue Links
- blocks
-
BEAM-10961 Enable strict dependency analysis on all Java modules
- Open