[ Enhancement ] Upgrade dependency and use toml file to manage it#11
Open
santosh-niroula wants to merge 6 commits intomainfrom
Open
[ Enhancement ] Upgrade dependency and use toml file to manage it#11santosh-niroula wants to merge 6 commits intomainfrom
santosh-niroula wants to merge 6 commits intomainfrom
Conversation
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.
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.
No description provided.