-
Notifications
You must be signed in to change notification settings - Fork 124
Enforce only v4.x versions are allowed for OkHTTP #856
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
WalkthroughA global configuration was added to reject pre-release dependency versions (alpha, beta, rc, milestone) by matching version strings with a regex during resolution. Changes
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
⏰ Context from checks skipped due to timeout of 90000ms (1)
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
build.gradle
(1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (1)
- GitHub Check: integration-and-unit-tests
863: Fix `OKHTTP` dependency inconsistency r=brunoocasali a=larskristianhaga # Pull Request Following up on PR #856, that tried to fix the issue with dependency resolving to alpha version of the OKHTTP dependency. Example repo that showcases that `meilisearch-java:0.14.6` still resolves to OKHTTP `5.0.0-alpha.16`. https://github.com/larskristianhaga/Meilisearch-OKHTTP-dependency-crash-demo ## What does this PR do? - Pinning OKHTTP version to `4.12.0`, which is the same used as test scope. - Removed dependency selection rejection that did not work. ## PR checklist Please check if your PR fulfills the following requirements: - [X] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)? - [X] Have you read the contributing guidelines? - [X] Have you made sure that the title is accurate and descriptive of the changes? Thank you so much for contributing to Meilisearch! <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Chores** - Updated the okhttp dependency to a fixed version (4.12.0). - Removed restrictions that previously blocked pre-release dependency versions. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Co-authored-by: Lars Kristian Haga <lars.kristian.haga@cappelendamm.no>
Pull Request
Related issue
A user reported that their build was broken after a clean maven install due to the poor resource version constraints defined in the okhttp definition.
What does this PR do?
PR checklist
Please check if your PR fulfills the following requirements:
Thank you so much for contributing to Meilisearch!
Summary by CodeRabbit