Skip to content

Commit

Permalink
Deps: Migrated assertj to Version Catalog
Browse files Browse the repository at this point in the history
  • Loading branch information
neeldoshii committed Jul 5, 2024
1 parent f30ea3b commit 409c5cb
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion WordPress/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ dependencies {
testImplementation libs.junit
testImplementation libs.mockito.kotlin
testImplementation "org.jetbrains.kotlin:kotlin-test-junit:$gradle.ext.kotlinVersion"
testImplementation "org.assertj:assertj-core:$assertjVersion"
testImplementation libs.assertj.core
testImplementation libs.kotlinx.coroutines.test

androidTestImplementation project(path:':libs:mocks')
Expand Down
3 changes: 0 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,6 @@ ext {
uCropVersion = '2.2.9'
zendeskVersion = '5.1.2'

// test
assertjVersion = '3.23.1'

// android test
androidxTestCoreVersion = '1.5.0'
androidxTestExtJunitVersion = '1.1.5'
Expand Down
2 changes: 2 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ androidxLifecycle = '2.6.2'
androidxTestEspresso = '3.4.0'
androidxWebkit = '1.11.0'
androidxWorkManager = "2.9.0"
assertj = '3.23.1'
automatticRest = '1.0.8'
dagger = '2.50'
facebookReact = '0.73.3'
Expand Down Expand Up @@ -77,6 +78,7 @@ androidx-webkit = {group = "androidx.webkit", name = "webkit", version.ref = "an
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" }
assertj-core = { group = "org.assertj", name = "assertj-core", version.ref ="assertj" }
automattic-rest = { group = "com.automattic", name = "rest", version.ref = "automatticRest" }
dagger-android-processor = { group = "com.google.dagger", name = "dagger-android-processor", version.ref = "dagger" }
dagger-android-support = { group = "com.google.dagger", name = "dagger-android-support", version.ref = "dagger" }
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 @@ -71,7 +71,7 @@ dependencies {

testImplementation libs.mockito.kotlin
testImplementation libs.junit
testImplementation "org.assertj:assertj-core:$assertjVersion"
testImplementation libs.assertj.core
testImplementation(libs.androidx.coreTesting, {
exclude group: 'com.android.support', module: 'support-compat'
exclude group: 'com.android.support', module: 'support-annotations'
Expand Down
2 changes: 1 addition & 1 deletion libs/processors/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ dependencies {
testImplementation "com.github.tschuchortdev:kotlin-compile-testing:$kctVersion"
testImplementation "com.github.tschuchortdev:kotlin-compile-testing-ksp:$kctVersion"
testImplementation libs.junit
testImplementation "org.assertj:assertj-core:$assertjVersion"
testImplementation libs.assertj.core
testImplementation "org.jetbrains.kotlin:kotlin-reflect:$gradle.ext.kotlinVersion"
}

0 comments on commit 409c5cb

Please sign in to comment.