Skip to content

Commit

Permalink
Deps: Migrated junit to Version Catalog
Browse files Browse the repository at this point in the history
  • Loading branch information
neeldoshii committed Jul 5, 2024
1 parent 588e80e commit f30ea3b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion WordPress/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ dependencies {
exclude group: 'com.android.support', module: 'support-annotations'
exclude group: 'com.android.support', module: 'support-core-utils'
})
testImplementation "junit:junit:$junitVersion"
testImplementation libs.junit
testImplementation libs.mockito.kotlin
testImplementation "org.jetbrains.kotlin:kotlin-test-junit:$gradle.ext.kotlinVersion"
testImplementation "org.assertj:assertj-core:$assertjVersion"
Expand Down
1 change: 0 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ ext {

// test
assertjVersion = '3.23.1'
junitVersion = '4.13.2'

// android test
androidxTestCoreVersion = '1.5.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 @@ -18,6 +18,7 @@ flipper = '0.245.0'
glide = '4.16.0'
googlePlayAppUpdate = '2.1.0'
gson = '2.10.1'
junit = '4.13.2'
kotlinxCoroutines = '1.7.3'
lottie = '6.1.0'
mockitoAndroid = '4.5.1'
Expand Down Expand Up @@ -93,6 +94,7 @@ glide = { group = "com.github.bumptech.glide", name = "glide", version.ref ="gli
glide-ksp = { group = "com.github.bumptech.glide", name = "ksp", version.ref ="glide" }
glide-volley-integration = { group = "com.github.bumptech.glide", name = "volley-integration", version.ref ="glide" }
google-gson = { group = "com.google.code.gson", name = "gson", version.ref = "gson" }
junit = { group = "junit", name = "junit", version.ref ="junit" }
kotlinx-coroutines-android = { group = "org.jetbrains.kotlinx", name = "kotlinx-coroutines-android", version.ref ="kotlinxCoroutines" }
kotlinx-coroutines-core = { group = "org.jetbrains.kotlinx", name = "kotlinx-coroutines-core", version.ref ="kotlinxCoroutines" }
kotlinx-coroutines-test = { group = "org.jetbrains.kotlinx", name = "kotlinx-coroutines-test", version.ref ="kotlinxCoroutines" }
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 @@ -70,7 +70,7 @@ dependencies {
}

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

0 comments on commit f30ea3b

Please sign in to comment.