fix misconfigured dependencies for appfunctions

Run the given commands and fix them accordingly.

./gradlew :appfunctions:appfunctions-common:projectHealth
./gradlew :appfunctions:appfunctions-compiler:projectHealth
./gradlew :appfunctions:appfunctions-runtime:projectHealth

There is one remaining finding, which is the kotlin-reflect dep should be removed. But we actually need it.

Fixes: 396719283
Test: presubmit
Change-Id: I236746cf61e47fe3127e6340c35abcc47bf5f190
diff --git a/appfunctions/appfunctions-runtime/build.gradle b/appfunctions/appfunctions-runtime/build.gradle
index 47c43fc..42fabd3 100644
--- a/appfunctions/appfunctions-runtime/build.gradle
+++ b/appfunctions/appfunctions-runtime/build.gradle
@@ -31,16 +31,13 @@
 
 dependencies {
     api(libs.kotlinStdlib)
+    api(libs.kotlinCoroutinesAndroid)
+    api project(":appfunctions:appfunctions-common")
 
     // Internal dependencies
-    implementation("androidx.appsearch:appsearch:1.1.0-alpha07")
-    implementation("androidx.appsearch:appsearch-platform-storage:1.1.0-alpha07")
-    implementation(libs.kotlinCoroutinesAndroid)
+    implementation("androidx.appsearch:appsearch:1.1.0-beta01")
+    implementation("androidx.appsearch:appsearch-platform-storage:1.1.0-beta01")
     implementation("androidx.annotation:annotation:1.9.0-rc01")
-    implementation project(":appfunctions:appfunctions-common")
-    implementation(libs.kotlinCoroutinesAndroid)
-    // Compile only dependencies
-    compileOnly(project(":appfunctions:appfunctions-stubs"))
 
     // Compile only dependencies
     compileOnly(project(":appfunctions:appfunctions-stubs"))
@@ -53,12 +50,14 @@
     androidTestCompileOnly(project(":appfunctions:appfunctions-stubs"))
     androidTestImplementation("androidx.appsearch:appsearch:1.1.0-alpha07")
     androidTestImplementation("androidx.appsearch:appsearch-platform-storage:1.1.0-alpha07")
-    androidTestImplementation(libs.testCore)
-    androidTestImplementation(libs.testRules)
     androidTestImplementation(libs.junit)
     androidTestImplementation(libs.truth)
     androidTestImplementation(libs.kotlinCoroutinesTest)
     androidTestImplementation(libs.testParameterInjector)
+    androidTestImplementation('androidx.concurrent:concurrent-futures-ktx:1.1.0')
+    androidTestImplementation(libs.guavaAndroid)
+    androidTestImplementation(libs.testMonitor)
+    androidTestImplementation(libs.testRunner)
 }
 
 android {