diff --git a/ReactAndroid/build.gradle b/ReactAndroid/build.gradle index 0966bc4a41e92b..e9e12e77b0a175 100644 --- a/ReactAndroid/build.gradle +++ b/ReactAndroid/build.gradle @@ -379,9 +379,8 @@ dependencies { testImplementation("org.robolectric:robolectric:${ROBOLECTRIC_VERSION}") androidTestImplementation(fileTree(dir: "src/main/third-party/java/buck-android-support/", include: ["*.jar"])) - //TODO: Refactor to extract versions of androidx dependencies - androidTestImplementation("androidx.test:runner:1.1.0") - androidTestImplementation("androidx.test:rules:1.1.0") + androidTestImplementation("androidx.test:runner:${ANDROIDX_TEST_VERSION}") + androidTestImplementation("androidx.test:rules:${ANDROIDX_TEST_VERSION}") androidTestImplementation("org.mockito:mockito-core:${MOCKITO_CORE_VERSION}") } diff --git a/ReactAndroid/gradle.properties b/ReactAndroid/gradle.properties index 400c171c681143..58f1fda5772a89 100644 --- a/ReactAndroid/gradle.properties +++ b/ReactAndroid/gradle.properties @@ -11,7 +11,7 @@ ROBOLECTRIC_VERSION=3.0 JUNIT_VERSION=4.12 FEST_ASSERT_CORE_VERSION=2.0M10 -ANDROID_SUPPORT_TEST_VERSION=1.0.2 +ANDROIDX_TEST_VERSION=1.1.0 FRESCO_VERSION=2.0.0 OKHTTP_VERSION=3.12.1 SO_LOADER_VERSION=0.6.0