Skip to content

Commit

Permalink
Deps: Migrated androidxWorkManager to Version Catalog
Browse files Browse the repository at this point in the history
  • Loading branch information
neeldoshii committed Jul 5, 2024
1 parent 0903383 commit 3a03de0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
6 changes: 3 additions & 3 deletions WordPress/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -421,8 +421,8 @@ dependencies {
implementation "androidx.percentlayout:percentlayout:$androidxPercentlayoutVersion"
implementation "androidx.swiperefreshlayout:swiperefreshlayout:$androidxSwipeToRefreshVersion"
implementation "androidx.preference:preference:$androidxPreferenceVersion"
implementation "androidx.work:work-runtime:$androidxWorkManagerVersion"
implementation "androidx.work:work-runtime-ktx:$androidxWorkManagerVersion"
implementation libs.androidx.workManager.runtime
implementation libs.androidx.workManager.runtime.ktx
implementation "androidx.constraintlayout:constraintlayout:$androidxConstraintlayoutVersion"
implementation libs.androidx.lifecycle.viewmodel
implementation libs.androidx.lifecycle.viewmodel.ktx
Expand Down Expand Up @@ -525,7 +525,7 @@ dependencies {
exclude group: 'com.android.support.test.uiautomator', module: 'uiautomator-v18'
}
androidTestImplementation (name:'cloudtestingscreenshotter_lib', ext:'aar') // Screenshots on Firebase Cloud Testing
androidTestImplementation "androidx.work:work-testing:$androidxWorkManagerVersion"
androidTestImplementation libs.androidx.workManager.workTesting
androidTestImplementation libs.dagger.hilt.android.testing
kspAndroidTest libs.dagger.hilt.android.compiler
// Enables Java 8+ API desugaring support
Expand Down
1 change: 0 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ ext {
androidxRecyclerviewVersion = '1.3.0'
androidxSwipeToRefreshVersion = '1.1.0'
androidxViewpager2Version = '1.0.0'
androidxWorkManagerVersion = "2.9.0"
androidxComposeMaterial3Version = '1.1.1'
apacheCommonsTextVersion = '1.10.0'
coilComposeVersion = '2.4.0'
Expand Down
4 changes: 4 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ androidxCore = '1.10.0'
androidxFragment = '1.6.2'
androidxLifecycle = '2.6.2'
androidxWebkit = '1.11.0'
androidxWorkManager = "2.9.0"
automatticRest = '1.0.8'
dagger = '2.50'
glide = '4.16.0'
Expand Down Expand Up @@ -78,6 +79,9 @@ kotlinx-coroutines-test = { group = "org.jetbrains.kotlinx", name = "kotlinx-cor
lottie = { group = "com.airbnb.android", name = "lottie", version.ref ="lottie" }
lottie-compose = { group = "com.airbnb.android", name = "lottie-compose", version.ref ="lottie" }
wordPress-persistentEditText = { group = "org.wordpress", name = "persistentedittext", version.ref = "wordPressPersistentEditText" }
androidx-workManager-runtime = { group = "androidx.work", name = "work-runtime", version.ref = "androidxWorkManager" }
androidx-workManager-runtime-ktx = { group = "androidx.work", name = "work-runtime-ktx", version.ref = "androidxWorkManager" }
androidx-workManager-workTesting = { group = "androidx.work", name = "work-testing", version.ref = "androidxWorkManager" }

[plugins]
dagger = { id = "com.google.dagger.hilt.android", version.ref = "dagger" }

0 comments on commit 3a03de0

Please sign in to comment.