Migrate dependency management to version catalog#152
Conversation
| applicationId "ai.elimu.content_provider" | ||
| minSdkVersion 24 | ||
| targetSdkVersion 34 | ||
| versionCode 1002029 |
There was a problem hiding this comment.
This will be reverted upon rebasing onto main.
|
""" WalkthroughThis pull request updates the build configuration across the project. Dependency declarations have been refactored to use a centralized Changes
Possibly related PRs
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
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 (
|
jo-elimu
left a comment
There was a problem hiding this comment.
@tuancoltech ./gradlew clean build is failing: https://github.com/elimu-ai/content-provider/actions/runs/13518482746/job/37772199873?pr=152
36a0d5b to
f07f70c
Compare
f07f70c to
087454d
Compare
@jo-elimu Should be ok now. |
There was a problem hiding this comment.
Actionable comments posted: 0
🧹 Nitpick comments (1)
gradle/libs.versions.toml (1)
39-40: Empty Plugins Section – Consider Clarification
The[plugins]section is currently empty. This is acceptable if there are no plugins to configure at the moment; however, it might be helpful to add a placeholder comment explaining that plugins can be added here in the future. For example:-[plugins] + [plugins] # No plugins configured at this time. Add plugin dependencies here as needed.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
gradle/libs.versions.toml(1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (6)
- GitHub Check: build (windows-latest, 21)
- GitHub Check: build (windows-latest, 17)
- GitHub Check: build (macos-latest, 21)
- GitHub Check: build (macos-latest, 17)
- GitHub Check: build (ubuntu-latest, 21)
- GitHub Check: build (ubuntu-latest, 17)
🔇 Additional comments (2)
gradle/libs.versions.toml (2)
1-17: Centralized Versions Section Verified
The[versions]section cleanly centralizes the version declarations for various libraries. The naming and version strings are clear and follow a consistent pattern. Consider adding inline comments if future maintainers might benefit from context (optional).
18-38: Well-Structured Libraries Section
The[libraries]section maps each library with its respective group, name, and version reference neatly. The use ofversion.refensures consistency with the versions defined above. All keys are intuitive, and the ordering is clear.
Issue Number
Purpose
Currently, our project manages dependencies directly in build.gradle files. To improve scalability and maintainability of our dependency management, we should migrate to version catalogs.
Summary by CodeRabbit
Chores
Refactor