Skip to content

[ Enhancement ] Upgrade dependency and use toml file to manage it#11

Open
santosh-niroula wants to merge 6 commits intomainfrom
SantoshNiroula/enhancement/depedency_version
Open

[ Enhancement ] Upgrade dependency and use toml file to manage it#11
santosh-niroula wants to merge 6 commits intomainfrom
SantoshNiroula/enhancement/depedency_version

Conversation

@santosh-niroula
Copy link
Copy Markdown
Contributor

No description provided.

This commit introduces a version catalog (`libs.versions.toml`) to centralize and manage project dependencies.

The catalog includes versions and library definitions for:
- AndroidX libraries (KTX, Lifecycle, Activity Compose, Compose UI, Material3, Material Icons Extended)
- Testing libraries (JUnit, JUnit Ext, Espresso, Compose Test)
- Networking libraries (Retrofit, OkHttp Logging Interceptor)
- Material Design components
- Kotlin
- Gradle plugins (Android Application, Android Library, Kotlin Android, Nexus Publish, Compose Compiler)
This commit updates the `build.gradle` file to utilize a version catalog for managing plugin dependencies.
It also removes the `dependencies.gradle` file as its functionality is now handled by the version catalog.
The `compose.compiler` plugin has been added to the catalog.
This commit updates the `checkout-android/build.gradle` file to utilize the Gradle version catalog for managing dependencies and plugins.

Specific changes include:
- Replaced direct plugin IDs with aliases from the version catalog (e.g., `libs.plugins.android.library`).
- Replaced direct dependency declarations with aliases from the version catalog (e.g., `libs.retrofit`).
- Removed the `composeBom` definition as it's now managed by the version catalog.
This commit updates the `app/build.gradle` file to use the Gradle version catalog for managing dependencies.

Key changes:
- Replaced direct dependency declarations with aliases from the version catalog (e.g., `libs.android.material`).
- Updated plugin declarations to use version catalog aliases.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants