Skip to content

Commit

Permalink
Deps: Migrated AutomatticRest to Version Catalog
Browse files Browse the repository at this point in the history
  • Loading branch information
neeldoshii committed Jul 5, 2024
1 parent 0ced10a commit cbc1050
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 @@ -390,7 +390,7 @@ dependencies {
}
}

implementation ("com.automattic:rest:$automatticRestVersion") {
implementation (libs.automattic.rest) {
exclude group: 'com.mcxiaoke.volley'
}
implementation "org.wordpress:persistentedittext:$wordPressPersistentEditTextVersion"
Expand Down
1 change: 0 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ ext {
ext {
// libs
automatticAboutVersion = '1.4.0'
automatticRestVersion = '1.0.8'
automatticTracksVersion = '5.1.0'
gutenbergMobileVersion = 'v1.120.1'
wordPressAztecVersion = 'v2.1.3'
Expand Down
2 changes: 2 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
[versions]
androidxComposeNavigation = '2.7.6'
automatticRest = '1.0.8'
androidxWebkit = '1.11.0'

[libraries]
androidx-navigation = { group = "androidx.navigation", name = "navigation-compose", version.ref = "androidxComposeNavigation" }
automattic-rest = { group = "com.automattic", name = "rest", version.ref = "automatticRest" }
androidx-webkit = {group = "androidx.webkit", name = "webkit", version.ref = "androidxWebkit"}

[plugins]
Expand Down
2 changes: 1 addition & 1 deletion libs/networking/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ repositories {
}

dependencies {
implementation ("com.automattic:rest:$automatticRestVersion") {
implementation (libs.automattic.rest) {
exclude group: 'com.mcxiaoke.volley'
}
implementation "org.wordpress:utils:$wordPressUtilsVersion"
Expand Down

0 comments on commit cbc1050

Please sign in to comment.