Skip to content

Commit

Permalink
Use buildSrc for Fest Assert Core
Browse files Browse the repository at this point in the history
Reviewed By: defHLT

Differential Revision: D23623704

fbshipit-source-id: a7117cbf0efd667dd5d1ce38aeded7815ee41fe0
  • Loading branch information
oprisnik authored and facebook-github-bot committed Sep 11, 2020
1 parent 058e48a commit 22923e9
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion animated-base/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ dependencies {
testImplementation project(':animated-base-test')
testImplementation project(':imagepipeline-test')
testImplementation TestDeps.junit
testImplementation "org.easytesting:fest-assert-core:${FEST_ASSERT_CORE_VERSION}"
testImplementation TestDeps.festAssertCore
testImplementation TestDeps.mockitoCore
testImplementation("org.powermock:powermock-api-mockito2:${POWERMOCK_VERSION}") {
exclude group: 'org.mockito', module: 'mockito-all'
Expand Down
2 changes: 1 addition & 1 deletion animated-drawable/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ dependencies {
testImplementation Deps.AndroidX.androidxAnnotation
testImplementation Deps.jsr305
testImplementation TestDeps.junit
testImplementation "org.easytesting:fest-assert-core:${FEST_ASSERT_CORE_VERSION}"
testImplementation TestDeps.festAssertCore
testImplementation TestDeps.mockitoCore
testImplementation("org.powermock:powermock-api-mockito2:${POWERMOCK_VERSION}") {
exclude group: 'org.mockito', module: 'mockito-all'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,6 @@ object TestDeps {
const val junit = "junit:junit:4.12"

const val mockitoCore = "org.mockito:mockito-core:2.26.0"

const val festAssertCore = "org.easytesting:fest-assert-core:2.0M10"
}
2 changes: 1 addition & 1 deletion drawee-span/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ dependencies {
implementation project(':ui-common')

testImplementation TestDeps.junit
testImplementation "org.easytesting:fest-assert-core:${FEST_ASSERT_CORE_VERSION}"
testImplementation TestDeps.festAssertCore
testImplementation TestDeps.mockitoCore
testImplementation("org.robolectric:robolectric:${ROBOLECTRIC_VERSION}") {
exclude group: 'commons-logging', module: 'commons-logging'
Expand Down
2 changes: 1 addition & 1 deletion fbcore/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ dependencies {
testImplementation project(':mockito-config')
testImplementation Deps.jsr305
testImplementation TestDeps.junit
testImplementation "org.easytesting:fest-assert-core:${FEST_ASSERT_CORE_VERSION}"
testImplementation TestDeps.festAssertCore
testImplementation TestDeps.mockitoCore
testImplementation "org.powermock:powermock-api-mockito2:${POWERMOCK_VERSION}"
testImplementation "org.powermock:powermock-module-junit4-rule:${POWERMOCK_VERSION}"
Expand Down
1 change: 0 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ android.useAndroidX=true
android.enableJetifier=true

# Deps for libraries
FEST_ASSERT_CORE_VERSION=2.0M10
POWERMOCK_VERSION=2.0.2
ROBOLECTRIC_VERSION=4.3.1

Expand Down
2 changes: 1 addition & 1 deletion imagepipeline-base/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ dependencies {
testImplementation project(':imagepipeline-base-test')
testImplementation TestDeps.junit
testImplementation "org.assertj:assertj-core:${versions.assertjCore}"
testImplementation "org.easytesting:fest-assert-core:${FEST_ASSERT_CORE_VERSION}"
testImplementation TestDeps.festAssertCore
testImplementation TestDeps.mockitoCore
testImplementation("org.powermock:powermock-api-mockito2:${POWERMOCK_VERSION}") {
exclude group: 'org.mockito', module: 'mockito-all'
Expand Down
2 changes: 1 addition & 1 deletion imagepipeline/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ dependencies {
testImplementation project(':imagepipeline-base-test')
testImplementation project(':native-imagetranscoder')
testImplementation TestDeps.junit
testImplementation "org.easytesting:fest-assert-core:${FEST_ASSERT_CORE_VERSION}"
testImplementation TestDeps.festAssertCore
testImplementation TestDeps.mockitoCore
testImplementation("org.powermock:powermock-api-mockito2:${POWERMOCK_VERSION}") {
exclude group: 'org.mockito', module: 'mockito-all'
Expand Down
2 changes: 1 addition & 1 deletion native-filters/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ dependencies {
testImplementation "androidx.legacy:legacy-support-core-utils:${versions.androidx.legacy_support_core_utils}"
testImplementation Deps.jsr305
testImplementation TestDeps.junit
testImplementation "org.easytesting:fest-assert-core:${FEST_ASSERT_CORE_VERSION}"
testImplementation TestDeps.festAssertCore
testImplementation TestDeps.mockitoCore
testImplementation("org.powermock:powermock-api-mockito2:${POWERMOCK_VERSION}") {
exclude group: 'org.mockito', module: 'mockito-all'
Expand Down
2 changes: 1 addition & 1 deletion native-imagetranscoder/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ dependencies {
testImplementation "androidx.legacy:legacy-support-core-utils:${versions.androidx.legacy_support_core_utils}"
testImplementation Deps.jsr305
testImplementation TestDeps.junit
testImplementation "org.easytesting:fest-assert-core:${FEST_ASSERT_CORE_VERSION}"
testImplementation TestDeps.festAssertCore
testImplementation TestDeps.mockitoCore
testImplementation("org.powermock:powermock-api-mockito2:${POWERMOCK_VERSION}") {
exclude group: 'org.mockito', module: 'mockito-all'
Expand Down

0 comments on commit 22923e9

Please sign in to comment.