Merge "Move lifecycle-runtime-testing to testutils" into udc-qpr-dev

This commit is contained in:
Chaohui Wang
2023-06-22 12:25:57 +00:00
committed by Android (Google) Code Review
4 changed files with 3 additions and 3 deletions

View File

@@ -69,7 +69,6 @@ dependencies {
implementation("com.airbnb.android:lottie-compose:5.2.0")
androidTestImplementation(project(":testutils"))
androidTestImplementation("androidx.lifecycle:lifecycle-runtime-testing")
androidTestImplementation(libs.dexmaker.mockito)
}

View File

@@ -31,7 +31,6 @@ android_test {
"SpaLib",
"SpaLibTestUtils",
"androidx.compose.runtime_runtime",
"androidx.lifecycle_lifecycle-runtime-testing",
"androidx.test.ext.junit",
"androidx.test.runner",
"mockito-target-minus-junit4",

View File

@@ -29,6 +29,7 @@ android_library {
"androidx.compose.runtime_runtime",
"androidx.compose.ui_ui-test-junit4",
"androidx.compose.ui_ui-test-manifest",
"androidx.lifecycle_lifecycle-runtime-testing",
"mockito",
"truth-prebuilt",
],

View File

@@ -26,7 +26,7 @@ android {
sourceSets {
sourceSets.getByName("main") {
java.setSrcDirs(listOf("src"))
kotlin.setSrcDirs(listOf("src"))
manifest.srcFile("AndroidManifest.xml")
}
}
@@ -40,6 +40,7 @@ dependencies {
api("androidx.arch.core:core-testing:2.2.0-alpha01")
api("androidx.compose.ui:ui-test-junit4:$jetpackComposeVersion")
api("androidx.lifecycle:lifecycle-runtime-testing")
api(libs.truth)
api("org.mockito:mockito-core:2.21.0")
debugApi("androidx.compose.ui:ui-test-manifest:$jetpackComposeVersion")