fix: Pin android dependency versions to prevent pre-release pickup#418
Conversation
|
To view this pull requests documentation preview, visit the following URL: docs.page/abausg/home_widget~418 Documentation is deployed and generated using docs.page. |
WalkthroughThree Android library dependencies in the home_widget build configuration are pinned from dynamic version ranges ( ChangesAndroid dependency version pinning
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@packages/home_widget/android/build.gradle`:
- Around line 54-56: Update the Android Gradle dependencies to compatible
artifacts: replace the dependency implementation
"androidx.work:work-runtime-ktx:2.11.2" with implementation
"androidx.work:work-runtime:2.11.2" (use the work-runtime artifact instead of
the empty work-runtime-ktx), and change implementation
"org.jetbrains.kotlinx:kotlinx-coroutines-android:1.10.2" to a
kotlinx-coroutines-android version compatible with Kotlin 1.9.0 (downgrade to a
1.6.x/1.7.x release that supports Kotlin 1.9.0) or alternatively upgrade the
project Kotlin version to 2.1.0+ if you prefer to keep
kotlinx-coroutines-android 1.10.2; locate these strings in the build.gradle
dependency block (the lines with androidx.work:work-runtime-ktx and
org.jetbrains.kotlinx:kotlinx-coroutines-android) and update them accordingly.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro
Run ID: b9fcfebb-23e0-4e91-b674-fa1378175084
📒 Files selected for processing (1)
packages/home_widget/android/build.gradle
|
Thank you, this PR solved the compile issue in my project. Hope it could be merged to main asap 👍 |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #418 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 3 3
Lines 175 175
=========================================
Hits 175 175 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Description
Replaces three dynamic version selectors with concrete latest-stable versions in
build.gradleChecklist
exampleor documentation.Breaking Change?
Related Issues
Closes #417