SOLR-18206 Use google-cloud-bom instead of individual lib pinning#4323
Open
janhoy wants to merge 12 commits intoapache:mainfrom
Open
SOLR-18206 Use google-cloud-bom instead of individual lib pinning#4323janhoy wants to merge 12 commits intoapache:mainfrom
janhoy wants to merge 12 commits intoapache:mainfrom
Conversation
Remove explicit version declarations for libs covered by the bom
Add consistendResolution.useCompileClasspathVersions
janhoy
commented
Apr 23, 2026
| @@ -0,0 +1,8 @@ | |||
| title: Move Google cloud dependencies to resolving google-cloud-bom. Bump to 0.261.0 and grpc-bom to 1.80.0 | |||
Contributor
Author
There was a problem hiding this comment.
Suggested change
| title: Move Google cloud dependencies to resolving google-cloud-bom. Bump to 0.261.0 and grpc-bom to 1.80.0 | |
| title: Resolve Google cloud dependencies using google-cloud-bom. Bump it to 0.261.0 and grpc-bom to 1.80.0 |
janhoy
commented
Apr 23, 2026
| # @keep transitive dependency for version alignment | ||
| grpc-core = { module = "io.grpc:grpc-core", version.ref = "grpc" } | ||
| grpc-netty = { module = "io.grpc:grpc-netty", version.ref = "grpc" } | ||
| grpc-protobuf = { module = "io.grpc:grpc-protobuf", version.ref = "grpc" } |
Contributor
Author
There was a problem hiding this comment.
We should probably try the same trick (removing version.ref) for the grpc-* family as well, although they use a common version.
Contributor
Author
|
Crave tests failed with Have anyone seen it before? Could it be the build cancellations in #4318 that is not working as it should and leaves behind old workspaces? Who has the foo to clean up? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
https://issues.apache.org/jira/browse/SOLR-18206
This PR supersedes #4098 (originally opened by Renovate/SolrBot) and expands its scope significantly.
Instead of just bumping individual Google Cloud library versions, this PR switches the GCS repository module to resolve all Google Cloud dependencies via the
google-cloud-bomBill of Materials, then bumps the BOM to the latest version (0.261.0). This simplifies future upgrades — only the BOM version needs updating, and all transitive Google Cloudlibraries are automatically aligned.
Changes
google-cloud-bombumped from0.224.0→0.261.0grpc-bombumped from1.65.1→1.80.0google-cloud-storage,google-cloud-nio,google-cloud-core,google-cloud-core-http,google-auth,google-api-gax)consistentResolution.useCompileClasspathVersions()to the GCS module to align dependency resolution across configurationsKey transitive version changes (via BOM 0.261.0)
google-cloud-storagegoogle-cloud-niogoogle-cloud-coregoogle-authgaxgrpc-*Closes #3117