Add AppFunctionInvokerProcessor
Also fix the compiler test issue that the generated source files are
cleared before each run. This sometimes clear the file that can be used
to update the golden file.
Bug: 390615909
Test: ./gradlew :appfunctions:appfunctions-compiler:test
Change-Id: I10dc42637c072ab476304836fd399dbb95195aa0
diff --git a/appfunctions/appfunctions-compiler/build.gradle b/appfunctions/appfunctions-compiler/build.gradle
index 8a70d79..0402349 100644
--- a/appfunctions/appfunctions-compiler/build.gradle
+++ b/appfunctions/appfunctions-compiler/build.gradle
@@ -23,6 +23,7 @@
*/
import androidx.build.KotlinTarget
import androidx.build.LibraryType
+import androidx.build.SdkHelperKt
plugins {
id("AndroidXPlugin")
@@ -38,6 +39,7 @@
testImplementationAarAsJar(project(":appfunctions:appfunctions-common"))
testImplementationAarAsJar(project(":appfunctions:appfunctions-runtime"))
+ testImplementation(SdkHelperKt.getSdkDependency(project))
testImplementation(libs.googleCompileTesting)
testImplementation(project(":room:room-compiler-processing-testing"))
testImplementation(libs.junit)