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 5, 2024
1 parent 6c6d268 commit 45371b7
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.coreCommon
implementation libs.androidx.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 @@ -69,7 +69,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 @@ -4,6 +4,7 @@ androidxComposeNavigation = '2.7.6'
androidxWebkit = '1.11.0'
automatticRest = '1.0.8'
googlePlayAppUpdate = '2.1.0'
gson = '2.10.1'
wordPressPersistentEditText = '1.0.2'

[libraries]
Expand All @@ -15,6 +16,7 @@ androidx-coreTesting = { group = "androidx.arch.core", name = "core-testing", ve
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 = "gson" }
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 45371b7

Please sign in to comment.