Merge "Rename TEST_* to ANDROIDX_TEST_*" into androidx-master-dev
am: f41616320a
Change-Id: Ie44ce974b57b427d661eb5e2ef258c673ed90996
diff --git a/activity/build.gradle b/activity/build.gradle
index 12f1c96..60822a7 100644
--- a/activity/build.gradle
+++ b/activity/build.gradle
@@ -26,10 +26,10 @@
api(project(":savedstate"))
androidTestImplementation(KOTLIN_STDLIB)
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
- androidTestImplementation(TEST_RULES)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_RULES)
androidTestImplementation(TRUTH)
androidTestImplementation(ESPRESSO_CORE, libs.exclude_for_espresso)
androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
diff --git a/activity/integration-tests/testapp/build.gradle b/activity/integration-tests/testapp/build.gradle
index c8cca28..2e17b3d 100644
--- a/activity/integration-tests/testapp/build.gradle
+++ b/activity/integration-tests/testapp/build.gradle
@@ -32,10 +32,10 @@
implementation(project(":activity"))
androidTestImplementation(LEAKCANARY_INSTRUMENTATION)
androidTestImplementation(KOTLIN_STDLIB)
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
- androidTestImplementation(TEST_RULES)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_RULES)
androidTestImplementation(ESPRESSO_CORE)
androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy) // DexMaker has it's own MockMaker
androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy) // DexMaker has it's own MockMaker
diff --git a/activity/ktx/build.gradle b/activity/ktx/build.gradle
index 0dab34a..f31e175 100644
--- a/activity/ktx/build.gradle
+++ b/activity/ktx/build.gradle
@@ -38,10 +38,10 @@
api(KOTLIN_STDLIB)
androidTestImplementation(JUNIT)
androidTestImplementation(TRUTH)
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
- androidTestImplementation(TEST_RULES)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_RULES)
}
androidx {
diff --git a/animation/build.gradle b/animation/build.gradle
index 146ae5e..61fd2f6 100644
--- a/animation/build.gradle
+++ b/animation/build.gradle
@@ -28,8 +28,8 @@
implementation(project(":core"))
implementation(project(":collection"))
- androidTestImplementation(TEST_EXT_JUNIT, libs.exclude_for_espresso)
- androidTestImplementation(TEST_RULES, libs.exclude_for_espresso)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT, libs.exclude_for_espresso)
+ androidTestImplementation(ANDROIDX_TEST_RULES, libs.exclude_for_espresso)
}
androidx {
diff --git a/animation/integration-tests/testapp/build.gradle b/animation/integration-tests/testapp/build.gradle
index 0f21b85d..0996051 100644
--- a/animation/integration-tests/testapp/build.gradle
+++ b/animation/integration-tests/testapp/build.gradle
@@ -27,9 +27,9 @@
implementation(project(":animation"))
implementation(project(":animation:testing"))
- implementation(TEST_EXT_JUNIT, libs.exclude_for_espresso)
- implementation(TEST_CORE, libs.exclude_for_espresso)
- implementation(TEST_RULES, libs.exclude_for_espresso)
+ implementation(ANDROIDX_TEST_EXT_JUNIT, libs.exclude_for_espresso)
+ implementation(ANDROIDX_TEST_CORE, libs.exclude_for_espresso)
+ implementation(ANDROIDX_TEST_RULES, libs.exclude_for_espresso)
}
tasks['check'].dependsOn(tasks['connectedCheck'])
diff --git a/animation/testing/build.gradle b/animation/testing/build.gradle
index 5594df1..496047a 100644
--- a/animation/testing/build.gradle
+++ b/animation/testing/build.gradle
@@ -27,8 +27,8 @@
implementation(project(":annotation"))
implementation(project(":core"))
implementation(project(":animation"))
- implementation(TEST_EXT_JUNIT)
- implementation(TEST_CORE)
+ implementation(ANDROIDX_TEST_EXT_JUNIT)
+ implementation(ANDROIDX_TEST_CORE)
}
androidx {
diff --git a/appcompat/build.gradle b/appcompat/build.gradle
index ea3ccf4..dce2048 100644
--- a/appcompat/build.gradle
+++ b/appcompat/build.gradle
@@ -18,10 +18,10 @@
api(project(":appcompat:appcompat-resources"))
api("androidx.drawerlayout:drawerlayout:1.0.0")
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
- androidTestImplementation(TEST_RULES)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_RULES)
androidTestImplementation(TRUTH)
androidTestImplementation(ESPRESSO_CORE, libs.exclude_for_espresso)
androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
diff --git a/appcompat/resources/build.gradle b/appcompat/resources/build.gradle
index 3f5c826..fe0743f 100644
--- a/appcompat/resources/build.gradle
+++ b/appcompat/resources/build.gradle
@@ -31,10 +31,10 @@
api(project(":vectordrawable"))
api(project(":vectordrawable-animated"))
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
- androidTestImplementation(TEST_RULES)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_RULES)
androidTestImplementation(TRUTH)
androidTestImplementation(ESPRESSO_CORE, libs.exclude_for_espresso)
androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
diff --git a/arch/core-testing/build.gradle b/arch/core-testing/build.gradle
index 771eab3..6fadceb 100644
--- a/arch/core-testing/build.gradle
+++ b/arch/core-testing/build.gradle
@@ -33,9 +33,9 @@
testImplementation(JUNIT)
androidTestImplementation(JUNIT)
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
androidTestImplementation(ESPRESSO_CORE)
}
diff --git a/benchmark/build.gradle b/benchmark/build.gradle
index 49db68b..7c3f614 100644
--- a/benchmark/build.gradle
+++ b/benchmark/build.gradle
@@ -26,7 +26,7 @@
dependencies {
implementation(SUPPORT_ANNOTATIONS)
- implementation(TEST_RUNNER)
+ implementation(ANDROIDX_TEST_RUNNER)
androidTestImplementation(JUNIT)
implementation(KOTLIN_STDLIB)
diff --git a/benchmark/gradle-plugin/build.gradle b/benchmark/gradle-plugin/build.gradle
index 8e47df3..8eb0950 100644
--- a/benchmark/gradle-plugin/build.gradle
+++ b/benchmark/gradle-plugin/build.gradle
@@ -35,7 +35,7 @@
implementation gradleApi()
implementation(build_libs.gradle)
implementation(KOTLIN_STDLIB)
- implementation(TEST_RUNNER)
+ implementation(ANDROIDX_TEST_RUNNER)
testImplementation gradleTestKit()
testImplementation(JUNIT)
diff --git a/browser/build.gradle b/browser/build.gradle
index 764f936..2ff5588 100644
--- a/browser/build.gradle
+++ b/browser/build.gradle
@@ -22,10 +22,10 @@
implementation(project(":concurrent:concurrent-futures"))
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
- androidTestImplementation(TEST_RULES)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_RULES)
androidTestImplementation(ESPRESSO_CORE, libs.exclude_for_espresso)
androidTestImplementation(project(":internal-testutils"))
}
diff --git a/buildSrc/src/main/kotlin/androidx/build/dependencies/Dependencies.kt b/buildSrc/src/main/kotlin/androidx/build/dependencies/Dependencies.kt
index 2e6d315..34a3dd0 100644
--- a/buildSrc/src/main/kotlin/androidx/build/dependencies/Dependencies.kt
+++ b/buildSrc/src/main/kotlin/androidx/build/dependencies/Dependencies.kt
@@ -58,12 +58,12 @@
const val OKHTTP_MOCKWEBSERVER = "com.squareup.okhttp3:mockwebserver:3.11.0"
const val REACTIVE_STREAMS = "org.reactivestreams:reactive-streams:1.0.0"
const val RX_JAVA = "io.reactivex.rxjava2:rxjava:2.0.6"
-const val TEST_CORE = "androidx.test:core:1.1.0"
-const val TEST_RUNNER = "androidx.test:runner:1.1.0"
-const val TEST_RULES = "androidx.test:rules:1.1.0"
-const val TEST_EXT_JUNIT = "androidx.test.ext:junit:1.0.0"
-const val TEST_EXT_KTX = "androidx.test.ext:junit-ktx:1.1.0"
-const val TEST_UIAUTOMATOR = "androidx.test.uiautomator:uiautomator:2.2.0"
+const val ANDROIDX_TEST_CORE = "androidx.test:core:1.1.0"
+const val ANDROIDX_TEST_RUNNER = "androidx.test:runner:1.1.0"
+const val ANDROIDX_TEST_RULES = "androidx.test:rules:1.1.0"
+const val ANDROIDX_TEST_EXT_JUNIT = "androidx.test.ext:junit:1.0.0"
+const val ANDROIDX_TEST_EXT_KTX = "androidx.test.ext:junit-ktx:1.1.0"
+const val ANDROIDX_TEST_UIAUTOMATOR = "androidx.test.uiautomator:uiautomator:2.2.0"
const val TRUTH = "com.google.truth:truth:0.42"
const val XERIAL = "org.xerial:sqlite-jdbc:3.25.2"
const val XPP3 = "xpp3:xpp3:1.1.4c"
diff --git a/car/cluster/build.gradle b/car/cluster/build.gradle
index 6125d2c..18731d3 100644
--- a/car/cluster/build.gradle
+++ b/car/cluster/build.gradle
@@ -29,16 +29,13 @@
annotationProcessor(project(":versionedparcelable-annotation"))
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
- androidTestImplementation(TEST_RULES)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_RULES)
androidTestImplementation(ESPRESSO_CORE, libs.exclude_for_espresso)
testImplementation(JUNIT)
- testImplementation(TEST_EXT_JUNIT)
- testImplementation(TEST_CORE)
- testImplementation(TEST_RUNNER)
compileOnly fileTree(dir: '../stubs', include: ['android.car.jar'])
androidTestCompileOnly fileTree(dir: '../stubs', include: ['android.car.jar'])
diff --git a/car/core/build.gradle b/car/core/build.gradle
index 40d1d23..fd4acf6 100644
--- a/car/core/build.gradle
+++ b/car/core/build.gradle
@@ -18,19 +18,16 @@
api(CONSTRAINT_LAYOUT, { transitive = true })
api(MATERIAL)
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
- androidTestImplementation(TEST_RULES)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_RULES)
androidTestImplementation(ESPRESSO_CORE, libs.exclude_for_espresso)
androidTestImplementation(ESPRESSO_CONTRIB, libs.exclude_for_espresso)
androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
testImplementation(JUNIT)
- testImplementation(TEST_EXT_JUNIT)
- testImplementation(TEST_CORE)
- testImplementation(TEST_RUNNER)
testImplementation(MOCKITO_CORE)
compileOnly fileTree(dir: '../stubs', include: ['android.car.jar'])
diff --git a/car/moderator/build.gradle b/car/moderator/build.gradle
index bfd9d9a..286a0648 100644
--- a/car/moderator/build.gradle
+++ b/car/moderator/build.gradle
@@ -27,17 +27,14 @@
api(project(":annotation"))
api(project(":core"))
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
- androidTestImplementation(TEST_RULES)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_RULES)
androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy)
androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy)
testImplementation(JUNIT)
- testImplementation(TEST_EXT_JUNIT)
- testImplementation(TEST_CORE)
- testImplementation(TEST_RUNNER)
testImplementation(MOCKITO_CORE)
compileOnly fileTree(dir: '../stubs', include: ['android.car.jar'])
diff --git a/content/build.gradle b/content/build.gradle
index 6701f9f..ac44966 100644
--- a/content/build.gradle
+++ b/content/build.gradle
@@ -29,10 +29,10 @@
implementation(project(":collection"))
androidTestImplementation(JUNIT)
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
- androidTestImplementation(TEST_RULES)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_RULES)
androidTestImplementation(ESPRESSO_CORE, libs.exclude_for_espresso)
}
diff --git a/coordinatorlayout/build.gradle b/coordinatorlayout/build.gradle
index 2e596cc..84f3abb 100644
--- a/coordinatorlayout/build.gradle
+++ b/coordinatorlayout/build.gradle
@@ -14,10 +14,10 @@
implementation("androidx.collection:collection:1.0.0")
api("androidx.customview:customview:1.0.0")
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
- androidTestImplementation(TEST_RULES)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_RULES)
androidTestImplementation(ESPRESSO_CORE, libs.exclude_for_espresso)
androidTestImplementation(ESPRESSO_CONTRIB, libs.exclude_for_espresso)
androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy)
diff --git a/core/build.gradle b/core/build.gradle
index 2cece01..8278852 100644
--- a/core/build.gradle
+++ b/core/build.gradle
@@ -15,10 +15,10 @@
api(GUAVA_LISTENABLE_FUTURE)
implementation("androidx.concurrent:concurrent-futures:1.0.0-alpha02")
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
- androidTestImplementation(TEST_RULES)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_RULES)
androidTestImplementation(ESPRESSO_CORE, libs.exclude_for_espresso)
androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
diff --git a/core/ktx/build.gradle b/core/ktx/build.gradle
index 4a9f2e3..77a19b3 100644
--- a/core/ktx/build.gradle
+++ b/core/ktx/build.gradle
@@ -22,10 +22,10 @@
api(project(":core"))
androidTestImplementation(JUNIT)
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
- androidTestImplementation(TEST_RULES)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_RULES)
androidTestImplementation(TRUTH)
androidTestImplementation(project(":internal-testutils-ktx"))
}
diff --git a/customview/build.gradle b/customview/build.gradle
index 50b5fee..4ea5612 100644
--- a/customview/build.gradle
+++ b/customview/build.gradle
@@ -13,10 +13,10 @@
implementation(project(":collection"))
androidTestImplementation(JUNIT)
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
- androidTestImplementation(TEST_RULES)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_RULES)
}
androidx {
diff --git a/documentfile/build.gradle b/documentfile/build.gradle
index 6a8b352..1d4a55b 100644
--- a/documentfile/build.gradle
+++ b/documentfile/build.gradle
@@ -12,9 +12,9 @@
annotationProcessor(NULLAWAY)
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
}
androidx {
diff --git a/dumb-tests/build.gradle b/dumb-tests/build.gradle
index c541388..3fbd3e4 100644
--- a/dumb-tests/build.gradle
+++ b/dumb-tests/build.gradle
@@ -23,10 +23,10 @@
dependencies {
testImplementation(JUNIT)
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
- androidTestImplementation(TEST_RULES)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_RULES)
}
tasks['check'].dependsOn(tasks['connectedCheck'])
diff --git a/dynamic-animation/build.gradle b/dynamic-animation/build.gradle
index be1c1acf..03ceb41 100644
--- a/dynamic-animation/build.gradle
+++ b/dynamic-animation/build.gradle
@@ -12,10 +12,10 @@
api(project(":collection"))
api(project(":legacy-support-core-utils"))
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
- androidTestImplementation(TEST_RULES)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_RULES)
androidTestImplementation(ESPRESSO_CORE, libs.exclude_for_espresso)
androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
diff --git a/dynamic-animation/ktx/build.gradle b/dynamic-animation/ktx/build.gradle
index 00f897f..d54892f 100644
--- a/dynamic-animation/ktx/build.gradle
+++ b/dynamic-animation/ktx/build.gradle
@@ -39,10 +39,10 @@
api(KOTLIN_STDLIB)
api(project(":dynamicanimation"))
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
- androidTestImplementation(TEST_RULES)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_RULES)
androidTestImplementation(ESPRESSO_CORE, libs.exclude_for_espresso)
androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
diff --git a/emoji/core/build.gradle b/emoji/core/build.gradle
index f06b44a..84ba4c1 100644
--- a/emoji/core/build.gradle
+++ b/emoji/core/build.gradle
@@ -24,10 +24,10 @@
api(project(":core"))
implementation(project(':collection'))
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
- androidTestImplementation(TEST_RULES)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_RULES)
androidTestImplementation(ESPRESSO_CORE, libs.exclude_for_espresso)
androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
diff --git a/enterprise/feedback/build.gradle b/enterprise/feedback/build.gradle
index 3ecef62..9523f0b 100644
--- a/enterprise/feedback/build.gradle
+++ b/enterprise/feedback/build.gradle
@@ -9,10 +9,10 @@
dependencies {
api("androidx.annotation:annotation:1.0.1")
api(AUTO_VALUE_ANNOTATIONS)
+ testImplementation(ANDROIDX_TEST_CORE)
+ testImplementation(ANDROIDX_TEST_RUNNER)
annotationProcessor(AUTO_VALUE)
- testImplementation(TEST_CORE)
testImplementation(JUNIT)
- testImplementation(TEST_RUNNER)
testImplementation(TRUTH)
testImplementation(ROBOLECTRIC)
}
diff --git a/exifinterface/build.gradle b/exifinterface/build.gradle
index 9664fbb..5c549f4 100644
--- a/exifinterface/build.gradle
+++ b/exifinterface/build.gradle
@@ -10,9 +10,9 @@
dependencies {
api(project(":annotation"))
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
}
androidx {
diff --git a/fragment/build.gradle b/fragment/build.gradle
index 58d6b39..812d65f 100644
--- a/fragment/build.gradle
+++ b/fragment/build.gradle
@@ -27,10 +27,10 @@
api(ARCH_LIFECYCLE_VIEWMODEL, libs.exclude_annotations_transitive)
androidTestImplementation(KOTLIN_STDLIB)
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
- androidTestImplementation(TEST_RULES)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_RULES)
androidTestImplementation(TRUTH)
androidTestImplementation(ESPRESSO_CORE, libs.exclude_for_espresso)
androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
diff --git a/fragment/ktx/build.gradle b/fragment/ktx/build.gradle
index 3004d35..0e9b152 100644
--- a/fragment/ktx/build.gradle
+++ b/fragment/ktx/build.gradle
@@ -42,10 +42,10 @@
api(KOTLIN_STDLIB)
androidTestImplementation(JUNIT)
androidTestImplementation(TRUTH)
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
- androidTestImplementation(TEST_RULES)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_RULES)
}
androidx {
diff --git a/fragment/testing/build.gradle b/fragment/testing/build.gradle
index dd7bc24..0e62400 100644
--- a/fragment/testing/build.gradle
+++ b/fragment/testing/build.gradle
@@ -37,17 +37,17 @@
dependencies {
api(project(":fragment-ktx"))
- api(TEST_CORE)
+ api(ANDROIDX_TEST_CORE)
api(KOTLIN_STDLIB)
androidTestImplementation(KOTLIN_STDLIB)
androidTestImplementation(ESPRESSO_CORE)
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
- androidTestImplementation(TEST_RULES)
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_RULES)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
androidTestImplementation(TRUTH)
androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
diff --git a/graphics/drawable/animated/build.gradle b/graphics/drawable/animated/build.gradle
index 52c74dc..389e65a 100644
--- a/graphics/drawable/animated/build.gradle
+++ b/graphics/drawable/animated/build.gradle
@@ -12,10 +12,10 @@
implementation("androidx.interpolator:interpolator:1.0.0")
implementation(project(":collection"))
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
- androidTestImplementation(TEST_RULES)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_RULES)
androidTestImplementation(ESPRESSO_CORE, libs.exclude_for_espresso)
}
diff --git a/graphics/drawable/static/build.gradle b/graphics/drawable/static/build.gradle
index 34a39cb..f25503f 100644
--- a/graphics/drawable/static/build.gradle
+++ b/graphics/drawable/static/build.gradle
@@ -12,10 +12,10 @@
api(project(":core"))
implementation(project(":collection"))
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
- androidTestImplementation(TEST_RULES)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_RULES)
}
android {
diff --git a/gridlayout/build.gradle b/gridlayout/build.gradle
index f60de66..ee3511b 100644
--- a/gridlayout/build.gradle
+++ b/gridlayout/build.gradle
@@ -10,10 +10,10 @@
dependencies {
api(project(":core"))
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
- androidTestImplementation(TEST_RULES)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_RULES)
androidTestImplementation(ESPRESSO_CORE, libs.exclude_for_espresso)
}
diff --git a/heifwriter/build.gradle b/heifwriter/build.gradle
index e3652a8..3c0c81c 100644
--- a/heifwriter/build.gradle
+++ b/heifwriter/build.gradle
@@ -16,10 +16,10 @@
dependencies {
api(project(":annotation"))
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
- androidTestImplementation(TEST_RULES)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_RULES)
androidTestImplementation(ESPRESSO_CORE, libs.exclude_for_espresso)
}
diff --git a/leanback/build.gradle b/leanback/build.gradle
index 4597043..865db8c 100644
--- a/leanback/build.gradle
+++ b/leanback/build.gradle
@@ -16,10 +16,10 @@
api("androidx.fragment:fragment:1.0.0")
api("androidx.recyclerview:recyclerview:1.0.0")
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
- androidTestImplementation(TEST_RULES)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_RULES)
androidTestImplementation(ESPRESSO_CORE, libs.exclude_for_espresso)
androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
diff --git a/lifecycle/extensions/build.gradle b/lifecycle/extensions/build.gradle
index 55254ec..2dcdaa4 100644
--- a/lifecycle/extensions/build.gradle
+++ b/lifecycle/extensions/build.gradle
@@ -45,10 +45,10 @@
testImplementation(JUNIT)
testImplementation(MOCKITO_CORE)
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
- androidTestImplementation(TEST_RULES)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_RULES)
androidTestImplementation(ESPRESSO_CORE)
androidTestImplementation(SUPPORT_APPCOMPAT, libs.support_exclude_config)
}
diff --git a/lifecycle/integration-tests/kotlintestapp/build.gradle b/lifecycle/integration-tests/kotlintestapp/build.gradle
index 2797f90..6c3cd0f 100644
--- a/lifecycle/integration-tests/kotlintestapp/build.gradle
+++ b/lifecycle/integration-tests/kotlintestapp/build.gradle
@@ -29,16 +29,16 @@
implementation(project(":lifecycle:lifecycle-runtime-eap"))
implementation(project(":activity"))
+ testImplementation(ANDROIDX_TEST_RUNNER)
testImplementation(JUNIT)
- testImplementation(TEST_RUNNER)
testImplementation(TRUTH)
testImplementation(KOTLIN_COROUTINES)
testImplementation(KOTLIN_COROUTINES_TEST)
androidTestImplementation(KOTLIN_COROUTINES)
- androidTestImplementation(TEST_EXT_KTX)
+ androidTestImplementation(ANDROIDX_TEST_EXT_KTX)
androidTestImplementation(TRUTH)
- androidTestImplementation(TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
androidTestImplementation(ESPRESSO_CORE)
}
diff --git a/lifecycle/integration-tests/testapp/build.gradle b/lifecycle/integration-tests/testapp/build.gradle
index eaca25f..6d9c624 100644
--- a/lifecycle/integration-tests/testapp/build.gradle
+++ b/lifecycle/integration-tests/testapp/build.gradle
@@ -44,10 +44,10 @@
annotationProcessor(project(":lifecycle:lifecycle-compiler"))
androidTestAnnotationProcessor(project(":lifecycle:lifecycle-compiler"))
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
- androidTestImplementation(TEST_RULES)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_RULES)
androidTestImplementation(ESPRESSO_CORE)
testImplementation(JUNIT)
diff --git a/lifecycle/livedata-core/ktx/build.gradle b/lifecycle/livedata-core/ktx/build.gradle
index 6858a3b..1591448 100644
--- a/lifecycle/livedata-core/ktx/build.gradle
+++ b/lifecycle/livedata-core/ktx/build.gradle
@@ -37,12 +37,9 @@
api(KOTLIN_STDLIB)
testImplementation(project(":lifecycle:lifecycle-runtime"))
testImplementation(project(":arch:core-testing"))
+ testImplementation(ANDROIDX_TEST_RUNNER)
testImplementation(JUNIT)
testImplementation(TRUTH)
- testImplementation(TEST_EXT_JUNIT)
- testImplementation(TEST_CORE)
- testImplementation(TEST_RUNNER)
- testImplementation(TEST_RULES)
}
androidx {
diff --git a/lifecycle/livedata/eap/build.gradle b/lifecycle/livedata/eap/build.gradle
index fb7bfe9..cc4484a 100644
--- a/lifecycle/livedata/eap/build.gradle
+++ b/lifecycle/livedata/eap/build.gradle
@@ -42,10 +42,6 @@
testImplementation(project(":lifecycle:lifecycle-livedata-ktx"))
testImplementation(JUNIT)
testImplementation(TRUTH)
- testImplementation(TEST_EXT_JUNIT)
- testImplementation(TEST_CORE)
- testImplementation(TEST_RUNNER)
- testImplementation(TEST_RULES)
testImplementation(KOTLIN_COROUTINES_TEST)
}
diff --git a/lifecycle/livedata/ktx/build.gradle b/lifecycle/livedata/ktx/build.gradle
index 49d1391..d65fe16 100644
--- a/lifecycle/livedata/ktx/build.gradle
+++ b/lifecycle/livedata/ktx/build.gradle
@@ -38,12 +38,9 @@
api(KOTLIN_STDLIB)
testImplementation(project(":lifecycle:lifecycle-runtime"))
testImplementation(project(":arch:core-testing"))
+ testImplementation(ANDROIDX_TEST_RUNNER)
testImplementation(JUNIT)
testImplementation(TRUTH)
- testImplementation(TEST_EXT_JUNIT)
- testImplementation(TEST_CORE)
- testImplementation(TEST_RUNNER)
- testImplementation(TEST_RULES)
}
androidx {
diff --git a/lifecycle/runtime/build.gradle b/lifecycle/runtime/build.gradle
index 3525644..bfb812b 100644
--- a/lifecycle/runtime/build.gradle
+++ b/lifecycle/runtime/build.gradle
@@ -28,9 +28,9 @@
testImplementation(MOCKITO_CORE)
androidTestImplementation(JUNIT)
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
}
androidx {
diff --git a/lifecycle/runtime/eap/build.gradle b/lifecycle/runtime/eap/build.gradle
index 1280f00..dd15f2d 100644
--- a/lifecycle/runtime/eap/build.gradle
+++ b/lifecycle/runtime/eap/build.gradle
@@ -39,16 +39,13 @@
implementation(SUPPORT_ANNOTATIONS)
testImplementation(JUNIT)
- testImplementation(TEST_EXT_JUNIT)
- testImplementation(TEST_CORE)
- testImplementation(TEST_RUNNER)
testImplementation(TRUTH)
androidTestImplementation project(':lifecycle:lifecycle-runtime')
androidTestImplementation(TRUTH)
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
androidTestImplementation(KOTLIN_COROUTINES_TEST)
// have to use lintChecks because, lintPublish does nothing: b/123377555
diff --git a/lifecycle/service/build.gradle b/lifecycle/service/build.gradle
index 06627bd..9e243de 100644
--- a/lifecycle/service/build.gradle
+++ b/lifecycle/service/build.gradle
@@ -33,9 +33,9 @@
dependencies {
api(project(":lifecycle:lifecycle-runtime"))
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
androidTestImplementation(SUPPORT_CORE_UTILS, libs.support_exclude_config)
}
diff --git a/lifecycle/viewmodel-savedstate/build.gradle b/lifecycle/viewmodel-savedstate/build.gradle
index 6f8e56b..d46f7ac 100644
--- a/lifecycle/viewmodel-savedstate/build.gradle
+++ b/lifecycle/viewmodel-savedstate/build.gradle
@@ -44,10 +44,10 @@
androidTestImplementation(TRUTH)
androidTestImplementation(KOTLIN_STDLIB)
androidTestImplementation(ESPRESSO_CORE)
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
- androidTestImplementation(TEST_RULES)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_RULES)
}
androidx {
diff --git a/lifecycle/viewmodel/ktx/build.gradle b/lifecycle/viewmodel/ktx/build.gradle
index 728c778..4d72f86 100644
--- a/lifecycle/viewmodel/ktx/build.gradle
+++ b/lifecycle/viewmodel/ktx/build.gradle
@@ -37,16 +37,14 @@
api(KOTLIN_STDLIB)
api(KOTLIN_COROUTINES)
+ testImplementation(ANDROIDX_TEST_RUNNER)
testImplementation(JUNIT)
- testImplementation(TEST_EXT_JUNIT)
- testImplementation(TEST_CORE)
- testImplementation(TEST_RUNNER)
testImplementation(TRUTH)
androidTestImplementation(TRUTH)
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
}
androidx {
diff --git a/loader/build.gradle b/loader/build.gradle
index 6acd35c..8d3baa9 100644
--- a/loader/build.gradle
+++ b/loader/build.gradle
@@ -14,10 +14,10 @@
api(ARCH_LIFECYCLE_LIVEDATA_CORE, libs.exclude_annotations_transitive)
api(ARCH_LIFECYCLE_VIEWMODEL, libs.exclude_annotations_transitive)
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
- androidTestImplementation(TEST_RULES)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_RULES)
androidTestImplementation(ESPRESSO_CORE, libs.exclude_for_espresso)
androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
diff --git a/media/build.gradle b/media/build.gradle
index 7304b42..9bb58ea 100644
--- a/media/build.gradle
+++ b/media/build.gradle
@@ -11,9 +11,9 @@
api("androidx.core:core:1.1.0-alpha05")
implementation("androidx.collection:collection:1.0.0")
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
androidTestImplementation(ESPRESSO_CORE, libs.exclude_for_espresso)
androidTestImplementation project(':internal-testutils')
annotationProcessor(project(":versionedparcelable-annotation"))
diff --git a/media/version-compat-tests/current/client/build.gradle b/media/version-compat-tests/current/client/build.gradle
index 5bf21d8..10cbba5 100644
--- a/media/version-compat-tests/current/client/build.gradle
+++ b/media/version-compat-tests/current/client/build.gradle
@@ -25,9 +25,9 @@
androidTestImplementation(project(":media"))
androidTestImplementation(project(":support-media-compat-test-lib"))
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
}
android {
diff --git a/media/version-compat-tests/current/service/build.gradle b/media/version-compat-tests/current/service/build.gradle
index 3640251..1ee06fb 100644
--- a/media/version-compat-tests/current/service/build.gradle
+++ b/media/version-compat-tests/current/service/build.gradle
@@ -25,9 +25,9 @@
androidTestImplementation(project(":media"))
androidTestImplementation(project(":support-media-compat-test-lib"))
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
}
android {
diff --git a/media/version-compat-tests/previous/client/build.gradle b/media/version-compat-tests/previous/client/build.gradle
index 27a2d9b..2c64297 100644
--- a/media/version-compat-tests/previous/client/build.gradle
+++ b/media/version-compat-tests/previous/client/build.gradle
@@ -25,7 +25,7 @@
androidTestImplementation project(':support-media-compat-test-lib')
androidTestImplementation "com.android.support:support-media-compat:27.1.0"
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
}
diff --git a/media/version-compat-tests/previous/service/build.gradle b/media/version-compat-tests/previous/service/build.gradle
index c8e9028..f3afed6 100644
--- a/media/version-compat-tests/previous/service/build.gradle
+++ b/media/version-compat-tests/previous/service/build.gradle
@@ -25,9 +25,9 @@
androidTestImplementation(project(":support-media-compat-test-lib"))
androidTestImplementation "com.android.support:support-media-compat:27.1.0"
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
}
androidx {
diff --git a/media2-widget/build.gradle b/media2-widget/build.gradle
index 5af503d..d3d2930 100644
--- a/media2-widget/build.gradle
+++ b/media2-widget/build.gradle
@@ -30,10 +30,10 @@
implementation("androidx.palette:palette:1.0.0")
implementation(project(":concurrent:concurrent-futures"))
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
- androidTestImplementation(TEST_RULES)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_RULES)
androidTestImplementation(ESPRESSO_CORE, libs.exclude_for_espresso)
androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
diff --git a/media2/build.gradle b/media2/build.gradle
index 6250614..ad5de51 100644
--- a/media2/build.gradle
+++ b/media2/build.gradle
@@ -17,10 +17,10 @@
// Depend on media2-exoplayer so that the library groupId is set to match media2.
implementation(project(":media2-exoplayer"))
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
- androidTestImplementation(TEST_RULES)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_RULES)
androidTestImplementation(ESPRESSO_CORE, libs.exclude_for_espresso)
androidTestImplementation project(':internal-testutils')
annotationProcessor(project(":versionedparcelable-annotation"))
diff --git a/media2/version-compat-tests/current/client/build.gradle b/media2/version-compat-tests/current/client/build.gradle
index 73f94876..4d0ec72 100644
--- a/media2/version-compat-tests/current/client/build.gradle
+++ b/media2/version-compat-tests/current/client/build.gradle
@@ -25,9 +25,9 @@
androidTestImplementation(project(":media2"))
androidTestImplementation(project(":support-media2-test-common"))
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
}
android {
diff --git a/media2/version-compat-tests/current/service/build.gradle b/media2/version-compat-tests/current/service/build.gradle
index 73f94876..4d0ec72 100644
--- a/media2/version-compat-tests/current/service/build.gradle
+++ b/media2/version-compat-tests/current/service/build.gradle
@@ -25,9 +25,9 @@
androidTestImplementation(project(":media2"))
androidTestImplementation(project(":support-media2-test-common"))
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
}
android {
diff --git a/mediarouter/build.gradle b/mediarouter/build.gradle
index 788ef61..46b4d34 100644
--- a/mediarouter/build.gradle
+++ b/mediarouter/build.gradle
@@ -13,10 +13,10 @@
implementation("androidx.palette:palette:1.0.0")
implementation("androidx.recyclerview:recyclerview:1.0.0")
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
- androidTestImplementation(TEST_RULES)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_RULES)
androidTestImplementation(ESPRESSO_CORE, libs.exclude_for_espresso)
}
diff --git a/navigation/benchmark/build.gradle b/navigation/benchmark/build.gradle
index a789c7f..f1435d0 100644
--- a/navigation/benchmark/build.gradle
+++ b/navigation/benchmark/build.gradle
@@ -28,10 +28,10 @@
androidTestImplementation(project(":navigation:navigation-runtime"))
androidTestImplementation(project(":navigation:navigation-testing"))
androidTestImplementation(JUNIT)
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
- androidTestImplementation(TEST_RULES)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_RULES)
androidTestImplementation(KOTLIN_STDLIB)
}
diff --git a/navigation/common/build.gradle b/navigation/common/build.gradle
index d966215..6215db8 100644
--- a/navigation/common/build.gradle
+++ b/navigation/common/build.gradle
@@ -35,17 +35,15 @@
api("androidx.core:core:1.0.1")
implementation(ANDROIDX_COLLECTION)
+ testImplementation(ANDROIDX_TEST_RUNNER)
testImplementation(JUNIT)
testImplementation(MOCKITO_CORE)
- testImplementation(TEST_EXT_JUNIT)
- testImplementation(TEST_CORE)
- testImplementation(TEST_RUNNER)
testImplementation(TRUTH)
testImplementation(KOTLIN_STDLIB)
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
androidTestImplementation(ESPRESSO_CORE)
androidTestImplementation(TRUTH)
androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy)
diff --git a/navigation/common/ktx/build.gradle b/navigation/common/ktx/build.gradle
index 507aeee..c6a2dc4 100644
--- a/navigation/common/ktx/build.gradle
+++ b/navigation/common/ktx/build.gradle
@@ -42,14 +42,12 @@
implementation(ANDROIDX_COLLECTION)
api(KOTLIN_STDLIB)
+ testImplementation(ANDROIDX_TEST_RUNNER)
testImplementation(JUNIT)
- testImplementation(TEST_EXT_JUNIT)
- testImplementation(TEST_CORE)
- testImplementation(TEST_RUNNER)
testImplementation(TRUTH)
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
androidTestImplementation(ESPRESSO_CORE)
androidTestImplementation(TRUTH)
androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy)
diff --git a/navigation/fragment/build.gradle b/navigation/fragment/build.gradle
index ec69a63..4e9c4c5 100644
--- a/navigation/fragment/build.gradle
+++ b/navigation/fragment/build.gradle
@@ -37,16 +37,13 @@
testImplementation(JUNIT)
testImplementation(MOCKITO_CORE)
- testImplementation(TEST_EXT_JUNIT)
- testImplementation(TEST_CORE)
- testImplementation(TEST_RUNNER)
androidTestImplementation(project(":navigation:navigation-testing"))
androidTestImplementation(project(":navigation:navigation-runtime-ktx"))
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
- androidTestImplementation(TEST_RULES)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_RULES)
androidTestImplementation(ESPRESSO_CORE)
androidTestImplementation(TRUTH)
androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy)
diff --git a/navigation/fragment/ktx/build.gradle b/navigation/fragment/ktx/build.gradle
index 0d023628..6a3fd5e 100644
--- a/navigation/fragment/ktx/build.gradle
+++ b/navigation/fragment/ktx/build.gradle
@@ -42,10 +42,10 @@
api(KOTLIN_STDLIB)
androidTestImplementation(project(":fragment-testing"))
androidTestImplementation(project(":navigation:navigation-testing"))
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
- androidTestImplementation(TEST_RULES)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_RULES)
androidTestImplementation(ESPRESSO_CORE)
androidTestImplementation(TRUTH)
androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy)
diff --git a/navigation/runtime/build.gradle b/navigation/runtime/build.gradle
index b37a9b9..df2e183 100644
--- a/navigation/runtime/build.gradle
+++ b/navigation/runtime/build.gradle
@@ -37,15 +37,12 @@
testImplementation(JUNIT)
testImplementation(MOCKITO_CORE)
- testImplementation(TEST_EXT_JUNIT)
- testImplementation(TEST_CORE)
- testImplementation(TEST_RUNNER)
androidTestImplementation(project(":navigation:navigation-testing"))
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
- androidTestImplementation(TEST_RULES)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_RULES)
androidTestImplementation(ESPRESSO_CORE)
androidTestImplementation(TRUTH)
androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy)
diff --git a/navigation/runtime/ktx/build.gradle b/navigation/runtime/ktx/build.gradle
index 4cfa072..e07c9c3 100644
--- a/navigation/runtime/ktx/build.gradle
+++ b/navigation/runtime/ktx/build.gradle
@@ -40,10 +40,10 @@
api(KOTLIN_STDLIB)
androidTestImplementation(project(":navigation:navigation-testing"))
androidTestImplementation(TRUTH)
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
- androidTestImplementation(TEST_RULES)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_RULES)
androidTestImplementation(ESPRESSO_CORE)
}
diff --git a/navigation/testing/build.gradle b/navigation/testing/build.gradle
index dc27b41..b36464d 100644
--- a/navigation/testing/build.gradle
+++ b/navigation/testing/build.gradle
@@ -39,15 +39,13 @@
dependencies {
api(project(":navigation:navigation-common-ktx"))
+ testImplementation(ANDROIDX_TEST_RUNNER)
testImplementation(JUNIT)
testImplementation(MOCKITO_CORE)
- testImplementation(TEST_EXT_JUNIT)
- testImplementation(TEST_CORE)
- testImplementation(TEST_RUNNER)
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
androidTestImplementation(ESPRESSO_CORE)
}
diff --git a/navigation/ui/build.gradle b/navigation/ui/build.gradle
index 3e157ce..2ed5289 100644
--- a/navigation/ui/build.gradle
+++ b/navigation/ui/build.gradle
@@ -41,16 +41,13 @@
testImplementation(JUNIT)
testImplementation(MOCKITO_CORE)
- testImplementation(TEST_EXT_JUNIT)
- testImplementation(TEST_CORE)
- testImplementation(TEST_RUNNER)
androidTestImplementation(project(":navigation:navigation-runtime-ktx"))
androidTestImplementation(project(":navigation:navigation-testing"))
androidTestImplementation(KOTLIN_STDLIB)
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
androidTestImplementation(TRUTH)
androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
diff --git a/navigation/ui/ktx/build.gradle b/navigation/ui/ktx/build.gradle
index 8b9d999..9ff1a3d 100644
--- a/navigation/ui/ktx/build.gradle
+++ b/navigation/ui/ktx/build.gradle
@@ -38,9 +38,9 @@
// Ensure that the -ktx dependency graph mirrors the Java dependency graph
api(project(":navigation:navigation-runtime-ktx"))
api(KOTLIN_STDLIB)
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
androidTestImplementation(ESPRESSO_CORE)
}
diff --git a/paging/common/ktx/build.gradle b/paging/common/ktx/build.gradle
index 8f09226..4cd6de2 100644
--- a/paging/common/ktx/build.gradle
+++ b/paging/common/ktx/build.gradle
@@ -29,9 +29,6 @@
compile(KOTLIN_STDLIB)
testImplementation(JUNIT)
- testImplementation(TEST_EXT_JUNIT)
- testImplementation(TEST_CORE)
- testImplementation(TEST_RUNNER)
}
androidx {
diff --git a/paging/runtime/build.gradle b/paging/runtime/build.gradle
index fb6010e..c48bcda 100644
--- a/paging/runtime/build.gradle
+++ b/paging/runtime/build.gradle
@@ -42,9 +42,9 @@
androidTestImplementation(JUNIT)
androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
androidTestImplementation(KOTLIN_STDLIB)
}
diff --git a/paging/runtime/ktx/build.gradle b/paging/runtime/ktx/build.gradle
index 8193a92..ab42f2a 100644
--- a/paging/runtime/ktx/build.gradle
+++ b/paging/runtime/ktx/build.gradle
@@ -38,9 +38,9 @@
// Ensure that the -ktx dependency graph mirrors the Java dependency graph
api(project(":paging:paging-common-ktx"))
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
androidTestImplementation(ESPRESSO_CORE)
androidTestImplementation(ARCH_CORE_TESTING)
}
diff --git a/paging/rxjava2/build.gradle b/paging/rxjava2/build.gradle
index 3e6ef90..baf43e1 100644
--- a/paging/rxjava2/build.gradle
+++ b/paging/rxjava2/build.gradle
@@ -40,9 +40,9 @@
androidTestImplementation(JUNIT)
androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
androidTestImplementation(ESPRESSO_CORE)
androidTestImplementation(KOTLIN_STDLIB)
}
diff --git a/paging/rxjava2/ktx/build.gradle b/paging/rxjava2/ktx/build.gradle
index 67c6e66..5adac31 100644
--- a/paging/rxjava2/ktx/build.gradle
+++ b/paging/rxjava2/ktx/build.gradle
@@ -38,9 +38,9 @@
// Ensure that the -ktx dependency graph mirrors the Java dependency graph
api(project(":paging:paging-common-ktx"))
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
androidTestImplementation(ESPRESSO_CORE)
androidTestImplementation(ARCH_CORE_TESTING)
}
diff --git a/palette/build.gradle b/palette/build.gradle
index c753be1..5f7cc1f 100644
--- a/palette/build.gradle
+++ b/palette/build.gradle
@@ -19,9 +19,9 @@
annotationProcessor(NULLAWAY)
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
}
androidx {
diff --git a/palette/ktx/build.gradle b/palette/ktx/build.gradle
index d21f04b..fd9413f 100644
--- a/palette/ktx/build.gradle
+++ b/palette/ktx/build.gradle
@@ -36,9 +36,9 @@
api(project(":palette"))
api(KOTLIN_STDLIB)
androidTestImplementation(JUNIT)
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
}
androidx {
diff --git a/percent/build.gradle b/percent/build.gradle
index 1c536e3..9705ebc 100644
--- a/percent/build.gradle
+++ b/percent/build.gradle
@@ -10,10 +10,10 @@
dependencies {
api(project(":core"))
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
- androidTestImplementation(TEST_RULES)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_RULES)
androidTestImplementation(ESPRESSO_CORE, libs.exclude_for_espresso)
}
diff --git a/preference/build.gradle b/preference/build.gradle
index 037397b..e30e6fca 100644
--- a/preference/build.gradle
+++ b/preference/build.gradle
@@ -34,10 +34,10 @@
api(project(":fragment"))
api("androidx.recyclerview:recyclerview:1.0.0")
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
- androidTestImplementation(TEST_RULES)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_RULES)
androidTestImplementation(ESPRESSO_CORE, libs.exclude_for_espresso)
androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
diff --git a/preference/ktx/build.gradle b/preference/ktx/build.gradle
index 4399165..5dcad12 100644
--- a/preference/ktx/build.gradle
+++ b/preference/ktx/build.gradle
@@ -39,10 +39,10 @@
api(KOTLIN_STDLIB)
androidTestImplementation(JUNIT)
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
- androidTestImplementation(TEST_RULES)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_RULES)
androidTestImplementation(TRUTH)
androidTestImplementation(project(":internal-testutils-ktx"))
}
diff --git a/recyclerview/benchmark/build.gradle b/recyclerview/benchmark/build.gradle
index 2129359..233ca69 100644
--- a/recyclerview/benchmark/build.gradle
+++ b/recyclerview/benchmark/build.gradle
@@ -28,10 +28,10 @@
androidTestImplementation(project(":recyclerview"))
androidTestImplementation(project(":benchmark"))
androidTestImplementation(JUNIT)
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
- androidTestImplementation(TEST_RULES)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_RULES)
androidTestImplementation(KOTLIN_STDLIB)
}
diff --git a/recyclerview/recyclerview/build.gradle b/recyclerview/recyclerview/build.gradle
index 4a73cd0..a6ebdcd 100644
--- a/recyclerview/recyclerview/build.gradle
+++ b/recyclerview/recyclerview/build.gradle
@@ -14,10 +14,10 @@
implementation("androidx.collection:collection:1.0.0")
api("androidx.customview:customview:1.0.0")
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
- androidTestImplementation(TEST_RULES)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_RULES)
androidTestImplementation(ESPRESSO_CORE, libs.exclude_for_espresso)
androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
@@ -25,11 +25,9 @@
androidTestImplementation(KOTLIN_STDLIB)
androidTestImplementation(project(":internal-testutils"))
+ testImplementation(ANDROIDX_TEST_RUNNER)
testImplementation(JUNIT)
testImplementation(MOCKITO_CORE)
- testImplementation(TEST_EXT_JUNIT)
- testImplementation(TEST_CORE)
- testImplementation(TEST_RUNNER)
}
android {
diff --git a/recyclerview/selection/build.gradle b/recyclerview/selection/build.gradle
index 324aa02..7bdfc64 100644
--- a/recyclerview/selection/build.gradle
+++ b/recyclerview/selection/build.gradle
@@ -29,9 +29,9 @@
api(project(":core"))
implementation(project(":collection"))
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
androidTestImplementation(ESPRESSO_CORE, libs.exclude_for_espresso)
androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy) // DexMaker has it's own MockMaker
androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy) // DexMaker has it's own MockMaker
diff --git a/remotecallback/build.gradle b/remotecallback/build.gradle
index c2fca7e..899c67c 100644
--- a/remotecallback/build.gradle
+++ b/remotecallback/build.gradle
@@ -28,9 +28,9 @@
implementation project(":annotation")
implementation project(path: ':collection')
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy)
androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy)
androidTestAnnotationProcessor project(":remotecallback-processor")
diff --git a/room/benchmark/build.gradle b/room/benchmark/build.gradle
index a2ffe62..b9849b2 100644
--- a/room/benchmark/build.gradle
+++ b/room/benchmark/build.gradle
@@ -36,10 +36,10 @@
androidTestImplementation(project(":benchmark"))
androidTestImplementation(RX_JAVA)
androidTestImplementation(JUNIT)
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
- androidTestImplementation(TEST_RULES)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_RULES)
androidTestImplementation(KOTLIN_STDLIB)
}
diff --git a/room/integration-tests/autovaluetestapp/build.gradle b/room/integration-tests/autovaluetestapp/build.gradle
index e55b5dc..7036ee7 100644
--- a/room/integration-tests/autovaluetestapp/build.gradle
+++ b/room/integration-tests/autovaluetestapp/build.gradle
@@ -36,9 +36,9 @@
androidTestImplementation(project(":room:room-testing"))
androidTestImplementation(ARCH_CORE_TESTING)
androidTestImplementation(AUTO_VALUE_ANNOTATIONS)
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
androidTestImplementation(ESPRESSO_CORE)
androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy) // DexMaker has it's own MockMaker
androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy) // DexMaker has it's own MockMaker
diff --git a/room/integration-tests/kotlintestapp/build.gradle b/room/integration-tests/kotlintestapp/build.gradle
index 8e76446..a03d176 100644
--- a/room/integration-tests/kotlintestapp/build.gradle
+++ b/room/integration-tests/kotlintestapp/build.gradle
@@ -50,9 +50,9 @@
implementation(KOTLIN_COROUTINES)
kaptAndroidTest project(":room:room-compiler")
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER) {
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER) {
exclude module: 'support-annotations'
exclude module: 'hamcrest-core'
}
diff --git a/room/integration-tests/noappcompattestapp/build.gradle b/room/integration-tests/noappcompattestapp/build.gradle
index f4a95e4..c6fe8e7 100644
--- a/room/integration-tests/noappcompattestapp/build.gradle
+++ b/room/integration-tests/noappcompattestapp/build.gradle
@@ -24,9 +24,9 @@
dependencies {
implementation(project(":room:room-runtime"))
annotationProcessor project(":room:room-compiler")
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
androidTestImplementation(ESPRESSO_CORE)
testImplementation(JUNIT)
}
diff --git a/room/integration-tests/testapp/build.gradle b/room/integration-tests/testapp/build.gradle
index 67bfa91..9f9a689 100644
--- a/room/integration-tests/testapp/build.gradle
+++ b/room/integration-tests/testapp/build.gradle
@@ -62,10 +62,10 @@
androidTestImplementation(FINDBUGS)
androidTestImplementation(GUAVA_ANDROID)
androidTestImplementation(RX_JAVA)
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
- androidTestImplementation(TEST_RULES)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_RULES)
androidTestImplementation(ESPRESSO_CORE)
androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy) // DexMaker has it's own MockMaker
androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy) // DexMaker has it's own MockMaker
diff --git a/room/runtime/build.gradle b/room/runtime/build.gradle
index bc98bf0..644ec03 100644
--- a/room/runtime/build.gradle
+++ b/room/runtime/build.gradle
@@ -54,9 +54,9 @@
testImplementation(TRUTH)
androidTestImplementation(JUNIT)
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
androidTestImplementation(ESPRESSO_CORE)
androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
diff --git a/savedstate/build.gradle b/savedstate/build.gradle
index 15ab619..89f5091 100644
--- a/savedstate/build.gradle
+++ b/savedstate/build.gradle
@@ -23,10 +23,10 @@
implementation(ARCH_LIFECYCLE_COMMON, libs.exclude_annotations_transitive)
androidTestImplementation(KOTLIN_STDLIB)
androidTestImplementation(ARCH_LIFECYCLE_RUNTIME, libs.exclude_annotations_transitive)
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
- androidTestImplementation(TEST_RULES)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_RULES)
androidTestImplementation(TRUTH)
}
diff --git a/security/crypto/build.gradle b/security/crypto/build.gradle
index 5648e7e..edcda67 100644
--- a/security/crypto/build.gradle
+++ b/security/crypto/build.gradle
@@ -30,9 +30,9 @@
api("androidx.fragment:fragment:1.0.0") { transitive = true}
api("androidx.biometric:biometric:1.0.0-alpha03")
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
androidTestImplementation(MOCKITO_CORE)
}
diff --git a/sharetarget/build.gradle b/sharetarget/build.gradle
index 561bc2e..1da55f3 100644
--- a/sharetarget/build.gradle
+++ b/sharetarget/build.gradle
@@ -29,10 +29,10 @@
api(GUAVA_LISTENABLE_FUTURE)
implementation("androidx.concurrent:concurrent-futures:1.0.0-alpha02")
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
- androidTestImplementation(TEST_RULES)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_RULES)
androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
}
diff --git a/slices/benchmark/build.gradle b/slices/benchmark/build.gradle
index d7e5d06..77547ca 100644
--- a/slices/benchmark/build.gradle
+++ b/slices/benchmark/build.gradle
@@ -29,10 +29,10 @@
androidTestImplementation(project(":slice-builders"))
androidTestImplementation(project(":benchmark"))
androidTestImplementation(JUNIT)
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
- androidTestImplementation(TEST_RULES)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_RULES)
androidTestImplementation(ESPRESSO_CORE, libs.exclude_for_espresso)
androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy)
androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy)
diff --git a/slices/builders/ktx/build.gradle b/slices/builders/ktx/build.gradle
index 41549b0..57de7c3 100644
--- a/slices/builders/ktx/build.gradle
+++ b/slices/builders/ktx/build.gradle
@@ -41,10 +41,10 @@
api(project(":slice-builders"))
api(KOTLIN_STDLIB)
androidTestImplementation(JUNIT)
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
- androidTestImplementation(TEST_RULES)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_RULES)
implementation project(":annotation")
implementation project(path: ':core')
}
diff --git a/slices/core/build.gradle b/slices/core/build.gradle
index a2abee4..b95a573 100644
--- a/slices/core/build.gradle
+++ b/slices/core/build.gradle
@@ -30,9 +30,9 @@
api project(":collection")
api(project(":remotecallback"))
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy)
androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy)
androidTestAnnotationProcessor project(":remotecallback-processor")
diff --git a/slices/test/build.gradle b/slices/test/build.gradle
index 9ff1cf8..f49b7bf 100644
--- a/slices/test/build.gradle
+++ b/slices/test/build.gradle
@@ -29,9 +29,9 @@
implementation(project(":recyclerview"))
api(ARCH_LIFECYCLE_LIVEDATA_CORE, libs.exclude_annotations_transitive)
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
androidTestImplementation(ESPRESSO_CORE, libs.exclude_for_espresso)
androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy)
androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy)
diff --git a/slices/view/build.gradle b/slices/view/build.gradle
index 0b9cad6..0ee765c 100644
--- a/slices/view/build.gradle
+++ b/slices/view/build.gradle
@@ -31,10 +31,10 @@
androidTestImplementation(project(":slice-builders"))
androidTestImplementation(project(":slice-test"))
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
- androidTestImplementation(TEST_RULES)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_RULES)
androidTestImplementation(ESPRESSO_CORE, libs.exclude_for_espresso)
androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy)
androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy)
diff --git a/swiperefreshlayout/build.gradle b/swiperefreshlayout/build.gradle
index a903478..a0086f4 100644
--- a/swiperefreshlayout/build.gradle
+++ b/swiperefreshlayout/build.gradle
@@ -13,10 +13,10 @@
api("androidx.interpolator:interpolator:1.0.0")
androidTestImplementation(JUNIT)
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
- androidTestImplementation(TEST_RULES)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_RULES)
androidTestImplementation(ESPRESSO_CORE, libs.exclude_for_espresso)
androidTestImplementation(ESPRESSO_CONTRIB, libs.exclude_for_espresso)
androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
diff --git a/testutils/build.gradle b/testutils/build.gradle
index 79119d8..c7c6bb9 100644
--- a/testutils/build.gradle
+++ b/testutils/build.gradle
@@ -26,9 +26,9 @@
api(project(":fragment"))
api(project(":appcompat"))
- implementation(TEST_EXT_JUNIT)
- implementation(TEST_CORE)
- implementation(TEST_RULES)
+ implementation(ANDROIDX_TEST_EXT_JUNIT)
+ implementation(ANDROIDX_TEST_CORE)
+ implementation(ANDROIDX_TEST_RULES)
implementation(ESPRESSO_CORE, libs.exclude_for_espresso)
implementation(MOCKITO_CORE, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
implementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
diff --git a/textclassifier/build.gradle b/textclassifier/build.gradle
index fe85a5e..cba17ba 100644
--- a/textclassifier/build.gradle
+++ b/textclassifier/build.gradle
@@ -14,10 +14,10 @@
// TODO: change to 1.1.0-alpha04 after release
api(project(":core"))
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
- androidTestImplementation(TEST_RULES)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_RULES)
androidTestImplementation(TRUTH)
androidTestImplementation(ESPRESSO_CORE, libs.exclude_for_espresso)
androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy)
diff --git a/textclassifier/integration-tests/testapp/build.gradle b/textclassifier/integration-tests/testapp/build.gradle
index 09f0f5f..82033e63 100644
--- a/textclassifier/integration-tests/testapp/build.gradle
+++ b/textclassifier/integration-tests/testapp/build.gradle
@@ -35,10 +35,10 @@
dependencies {
implementation(project(":textclassifier"))
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
- androidTestImplementation(TEST_RULES)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_RULES)
androidTestImplementation(ESPRESSO_CORE)
}
diff --git a/transition/build.gradle b/transition/build.gradle
index 6126899..fc61120 100644
--- a/transition/build.gradle
+++ b/transition/build.gradle
@@ -15,10 +15,10 @@
compileOnly("androidx.fragment:fragment:1.0.0")
compileOnly("androidx.appcompat:appcompat:1.0.1")
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
- androidTestImplementation(TEST_RULES)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_RULES)
androidTestImplementation(ESPRESSO_CORE, libs.exclude_for_espresso)
androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
diff --git a/tv-provider/build.gradle b/tv-provider/build.gradle
index e47f7be..ad377c6 100644
--- a/tv-provider/build.gradle
+++ b/tv-provider/build.gradle
@@ -11,10 +11,10 @@
api(project(":annotation"))
api(project(":core"))
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
- androidTestImplementation(TEST_RULES)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_RULES)
androidTestImplementation(MOCKITO_CORE)
}
diff --git a/versionedparcelable/build.gradle b/versionedparcelable/build.gradle
index caeba38..61719d1 100644
--- a/versionedparcelable/build.gradle
+++ b/versionedparcelable/build.gradle
@@ -28,9 +28,9 @@
implementation(project(":annotation"))
implementation("androidx.collection:collection:1.0.0")
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy)
androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy)
androidTestImplementation(TRUTH)
diff --git a/viewpager/build.gradle b/viewpager/build.gradle
index 41ad95c..8e015fe 100644
--- a/viewpager/build.gradle
+++ b/viewpager/build.gradle
@@ -12,10 +12,10 @@
api(project(":core"))
api(project(":customview"))
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
- androidTestImplementation(TEST_RULES)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_RULES)
androidTestImplementation(ESPRESSO_CORE, libs.exclude_for_espresso)
androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
diff --git a/viewpager2/build.gradle b/viewpager2/build.gradle
index bc71cc1..df96767 100644
--- a/viewpager2/build.gradle
+++ b/viewpager2/build.gradle
@@ -30,10 +30,10 @@
implementation(project(":collection"))
androidTestImplementation(project(":appcompat"))
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
- androidTestImplementation(TEST_RULES)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_RULES)
androidTestImplementation(ESPRESSO_CORE, libs.exclude_for_espresso)
androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
diff --git a/viewpager2/integration-tests/testapp/build.gradle b/viewpager2/integration-tests/testapp/build.gradle
index 3affaad..f7034d2 100644
--- a/viewpager2/integration-tests/testapp/build.gradle
+++ b/viewpager2/integration-tests/testapp/build.gradle
@@ -18,8 +18,8 @@
import static androidx.build.dependencies.DependenciesKt.ESPRESSO_CORE
import static androidx.build.dependencies.DependenciesKt.KOTLIN_STDLIB
import static androidx.build.dependencies.DependenciesKt.MATERIAL
-import static androidx.build.dependencies.DependenciesKt.TEST_EXT_JUNIT
-import static androidx.build.dependencies.DependenciesKt.TEST_RULES
+import static androidx.build.dependencies.DependenciesKt.ANDROIDX_TEST_EXT_JUNIT
+import static androidx.build.dependencies.DependenciesKt.ANDROIDX_TEST_RULES
plugins {
id("AndroidXPlugin")
@@ -36,7 +36,7 @@
implementation(project(":coordinatorlayout"))
implementation(project(":cardview"))
- androidTestImplementation(TEST_RULES)
- androidTestImplementation(TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_RULES)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
androidTestImplementation(ESPRESSO_CORE)
}
diff --git a/wear/build.gradle b/wear/build.gradle
index a83892e..f8b0d46 100644
--- a/wear/build.gradle
+++ b/wear/build.gradle
@@ -14,10 +14,10 @@
api(project(":recyclerview"))
api(CONSTRAINT_LAYOUT, { transitive = true })
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
- androidTestImplementation(TEST_RULES)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_RULES)
androidTestImplementation(ESPRESSO_CORE, libs.exclude_for_espresso)
androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
diff --git a/webkit/build.gradle b/webkit/build.gradle
index 482393b..5f66967 100644
--- a/webkit/build.gradle
+++ b/webkit/build.gradle
@@ -28,10 +28,10 @@
api(project(':core'))
androidTestImplementation(OKHTTP_MOCKWEBSERVER)
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
- androidTestImplementation(TEST_RULES)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_RULES)
androidTestImplementation(project(":concurrent:concurrent-futures"))
}
diff --git a/work/workmanager-gcm/build.gradle b/work/workmanager-gcm/build.gradle
index 4b2a6a9..e89f0b4 100644
--- a/work/workmanager-gcm/build.gradle
+++ b/work/workmanager-gcm/build.gradle
@@ -52,9 +52,9 @@
}
androidTestImplementation(project(":work:work-runtime-ktx"))
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
androidTestImplementation(ESPRESSO_CORE)
androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy) // DexMaker has its own MockMaker
androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy) // DexMaker has its own MockMaker
diff --git a/work/workmanager-ktx/build.gradle b/work/workmanager-ktx/build.gradle
index 127bc49..3fde164 100644
--- a/work/workmanager-ktx/build.gradle
+++ b/work/workmanager-ktx/build.gradle
@@ -43,9 +43,9 @@
androidTestImplementation project(':concurrent:concurrent-futures')
androidTestImplementation project(':work:work-testing')
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
androidTestImplementation(ESPRESSO_CORE)
testImplementation(JUNIT)
}
diff --git a/work/workmanager-rxjava2/build.gradle b/work/workmanager-rxjava2/build.gradle
index c74b354..ef54db1 100644
--- a/work/workmanager-rxjava2/build.gradle
+++ b/work/workmanager-rxjava2/build.gradle
@@ -28,10 +28,8 @@
dependencies {
api(project(":work:work-runtime"))
api(RX_JAVA)
+ testImplementation(JUNIT)
testImplementation(KOTLIN_STDLIB)
- testImplementation(TEST_EXT_JUNIT)
- testImplementation(TEST_CORE)
- testImplementation(TEST_RUNNER)
testImplementation(MOCKITO_CORE)
}
diff --git a/work/workmanager-testing/build.gradle b/work/workmanager-testing/build.gradle
index a84312e..1015187 100644
--- a/work/workmanager-testing/build.gradle
+++ b/work/workmanager-testing/build.gradle
@@ -15,9 +15,9 @@
*/
+import androidx.build.AndroidXExtension
import androidx.build.LibraryGroups
import androidx.build.LibraryVersions
-import androidx.build.AndroidXExtension
import static androidx.build.dependencies.DependenciesKt.*
@@ -33,18 +33,17 @@
annotationProcessor(ARCH_ROOM_COMPILER)
androidTestImplementation(WORK_ARCH_CORE_TESTING)
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
- androidTestImplementation(TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
androidTestImplementation(ESPRESSO_CORE)
androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
+ testImplementation(ANDROIDX_TEST_CORE)
+ testImplementation(ANDROIDX_TEST_RUNNER)
testImplementation(JUNIT)
testImplementation(ROBOLECTRIC)
- testImplementation(TEST_EXT_JUNIT)
- testImplementation(TEST_CORE)
- testImplementation(TEST_RUNNER)
}
androidx {
diff --git a/work/workmanager/build.gradle b/work/workmanager/build.gradle
index 7e62f83..fd58a72 100644
--- a/work/workmanager/build.gradle
+++ b/work/workmanager/build.gradle
@@ -57,10 +57,10 @@
api(ARCH_LIFECYCLE_EXTENSIONS)
api(GUAVA_LISTENABLE_FUTURE)
- androidTestImplementation(TEST_EXT_JUNIT)
- androidTestImplementation(TEST_CORE)
+ androidTestImplementation(ANDROIDX_TEST_EXT_JUNIT)
+ androidTestImplementation(ANDROIDX_TEST_CORE)
androidTestImplementation(WORK_ARCH_CORE_TESTING)
- androidTestImplementation(TEST_RUNNER)
+ androidTestImplementation(ANDROIDX_TEST_RUNNER)
androidTestImplementation(ESPRESSO_CORE)
androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy) // DexMaker has its own MockMaker
androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy) // DexMaker has its own MockMaker