Skip to content

Commit

Permalink
Deps: Migrated gson to Version Catalog
Browse files Browse the repository at this point in the history
  • Loading branch information
neeldoshii committed Jul 18, 2024
1 parent 4bba066 commit 6e92a56
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion WordPress/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ dependencies {

implementation libs.androidx.arch.coreCommon
implementation libs.androidx.arch.coreRuntime
implementation "com.google.code.gson:gson:$googleGsonVersion"
implementation libs.google.gson
implementation "androidx.core:core:$androidxCoreVersion"
implementation "androidx.core:core-ktx:$androidxCoreVersion"
implementation "androidx.lifecycle:lifecycle-common:$androidxLifecycleVersion"
Expand Down
1 change: 0 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ ext {
googleAutoServiceVersion = '1.0.1'
googleExoPlayerVersion = '2.13.3'
googleFlexboxlayoutVersion = '3.0.0'
googleGsonVersion = '2.10.1'
googleMaterialVersion = '1.9.0'

googleMLKitBarcodeScanningVersion = '17.2.0'
Expand Down
2 changes: 2 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ androidxArchCore = '2.2.0'
androidxComposeNavigation = '2.7.7'
androidxWebkit = '1.11.0'
automatticRest = '1.0.8'
googleGson = '2.10.1'
googlePlayAppUpdate = '2.1.0'
wordPressPersistentEditText = '1.0.2'

Expand All @@ -15,6 +16,7 @@ androidx-arch-coreTesting = { group = "androidx.arch.core", name = "core-testing
androidx-navigation = { group = "androidx.navigation", name = "navigation-compose", version.ref = "androidxComposeNavigation" }
androidx-webkit = {group = "androidx.webkit", name = "webkit", version.ref = "androidxWebkit"}
automattic-rest = { group = "com.automattic", name = "rest", version.ref = "automatticRest" }
google-gson = { group = "com.google.code.gson", name = "gson", version.ref = "googleGson" }
wordPress-persistentEditText = { group = "org.wordpress", name = "persistentedittext", version.ref = "wordPressPersistentEditText" }

[plugins]
Expand Down
2 changes: 1 addition & 1 deletion libs/editor/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ dependencies {
implementation "androidx.preference:preference:$androidxPreferenceVersion"
implementation "com.google.android.material:material:$googleMaterialVersion"
implementation "com.android.volley:volley:$androidVolleyVersion"
implementation "com.google.code.gson:gson:$googleGsonVersion"
implementation libs.google.gson
implementation "com.automattic.tracks:crashlogging:$automatticTracksVersion"

lintChecks "org.wordpress:lint:$wordPressLintVersion"
Expand Down

0 comments on commit 6e92a56

Please sign in to comment.