Wear tiles-testing should have an api dependency on tiles-renderer.
Without this, we get compile time errors along the path of
"TileRenderer cannot be found", since tiles-renderer uses this class as
part of its public API.
Test: Builds now.
Bug: 197638718
Change-Id: I7ef35b48acbcc7f11c11c785356c7df61f6d9062
diff --git a/wear/tiles/tiles-testing/build.gradle b/wear/tiles/tiles-testing/build.gradle
index 8dcef67..0f6631d8 100644
--- a/wear/tiles/tiles-testing/build.gradle
+++ b/wear/tiles/tiles-testing/build.gradle
@@ -28,6 +28,7 @@
dependencies {
api("androidx.annotation:annotation:1.1.0")
api(libs.guavaListenableFuture)
+ api(project(":wear:tiles:tiles-renderer"))
implementation "androidx.concurrent:concurrent-futures:1.1.0"
implementation "androidx.concurrent:concurrent-futures-ktx:1.1.0"
@@ -35,7 +36,6 @@
implementation "androidx.wear:wear:1.2.0-beta01"
implementation(project(":wear:tiles:tiles"))
- implementation(project(":wear:tiles:tiles-renderer"))
implementation(libs.kotlinCoroutinesCore)
implementation(libs.kotlinCoroutinesAndroid)
implementation(libs.robolectric)