Skip to content

Commit

Permalink
Deps: Migrated androidxArchCore to Version Catalog
Browse files Browse the repository at this point in the history
  • Loading branch information
neeldoshii committed Jul 18, 2024
1 parent 5467661 commit 4bba066
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
6 changes: 3 additions & 3 deletions WordPress/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -399,8 +399,8 @@ dependencies {
implementation libs.android.play.appUpdate
implementation libs.android.play.appUpdateKtx

implementation "androidx.arch.core:core-common:$androidxArchCoreVersion"
implementation "androidx.arch.core:core-runtime:$androidxArchCoreVersion"
implementation libs.androidx.arch.coreCommon
implementation libs.androidx.arch.coreRuntime
implementation "com.google.code.gson:gson:$googleGsonVersion"
implementation "androidx.core:core:$androidxCoreVersion"
implementation "androidx.core:core-ktx:$androidxCoreVersion"
Expand Down Expand Up @@ -475,7 +475,7 @@ dependencies {
implementation "com.google.dagger:hilt-android:$gradle.ext.daggerVersion"
ksp "com.google.dagger:hilt-compiler:$gradle.ext.daggerVersion"

testImplementation("androidx.arch.core:core-testing:$androidxArchCoreVersion", {
testImplementation(libs.androidx.arch.coreTesting, {
exclude group: 'com.android.support', module: 'support-compat'
exclude group: 'com.android.support', module: 'support-annotations'
exclude group: 'com.android.support', module: 'support-core-utils'
Expand Down
1 change: 0 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ ext {
androidVolleyVersion = '1.2.1'
androidxAnnotationVersion = '1.6.0'
androidxAppcompatVersion = '1.6.1'
androidxArchCoreVersion = '2.2.0'
androidxCameraVersion = '1.3.4'
androidxComposeBomVersion = '2023.10.00'
androidxComposeCompilerVersion = '1.5.9'
Expand Down
4 changes: 4 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[versions]
androidxArchCore = '2.2.0'
androidxComposeNavigation = '2.7.7'
androidxWebkit = '1.11.0'
automatticRest = '1.0.8'
Expand All @@ -8,6 +9,9 @@ wordPressPersistentEditText = '1.0.2'
[libraries]
android-play-appUpdate = { group = "com.google.android.play", name = "app-update", version.ref = "googlePlayAppUpdate" }
android-play-appUpdateKtx = { group = "com.google.android.play", name = "app-update-ktx", version.ref = "googlePlayAppUpdate" }
androidx-arch-coreCommon = { group = "androidx.arch.core", name = "core-common", version.ref = "androidxArchCore" }
androidx-arch-coreRuntime = { group = "androidx.arch.core", name = "core-runtime", version.ref = "androidxArchCore" }
androidx-arch-coreTesting = { group = "androidx.arch.core", name = "core-testing", version.ref = "androidxArchCore" }
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" }
Expand Down
2 changes: 1 addition & 1 deletion libs/image-editor/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ dependencies {
testImplementation "org.mockito.kotlin:mockito-kotlin:$mockitoKotlinVersion"
testImplementation "junit:junit:$junitVersion"
testImplementation "org.assertj:assertj-core:$assertjVersion"
testImplementation("androidx.arch.core:core-testing:$androidxArchCoreVersion", {
testImplementation(libs.androidx.arch.coreTesting, {
exclude group: 'com.android.support', module: 'support-compat'
exclude group: 'com.android.support', module: 'support-annotations'
exclude group: 'com.android.support', module: 'support-core-utils'
Expand Down

0 comments on commit 4bba066

Please sign in to comment.