diff --git a/firebase-firestore/firebase-firestore.gradle b/firebase-firestore/firebase-firestore.gradle index 35524fb9239..c02a044e460 100644 --- a/firebase-firestore/firebase-firestore.gradle +++ b/firebase-firestore/firebase-firestore.gradle @@ -152,6 +152,7 @@ dependencies { testImplementation project(':firebase-database-collection') testImplementation project(':firebase-firestore') + testProtobuf("com.google.api.grpc:proto-google-common-protos:1.18.0") testImplementation libs.androidx.test.core testImplementation 'com.fasterxml.jackson.core:jackson-databind:2.9.8' testImplementation 'com.google.android.gms:play-services-tasks:18.0.1' diff --git a/firebase-firestore/src/main/java/com/google/firebase/firestore/remote/TestingHooks.java b/firebase-firestore/src/main/java/com/google/firebase/firestore/remote/TestingHooks.java index 9673504ed04..44cbcec97cb 100644 --- a/firebase-firestore/src/main/java/com/google/firebase/firestore/remote/TestingHooks.java +++ b/firebase-firestore/src/main/java/com/google/firebase/firestore/remote/TestingHooks.java @@ -16,6 +16,7 @@ import static com.google.firebase.firestore.util.Preconditions.checkNotNull; +import android.annotation.SuppressLint; import androidx.annotation.AnyThread; import androidx.annotation.NonNull; import androidx.annotation.Nullable; @@ -34,6 +35,7 @@ * *
Do not use this class except for testing purposes. */ +@SuppressLint("SupportAnnotationUsage") @VisibleForTesting final class TestingHooks { diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 340e333553b..a0dcc4991a5 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -2,7 +2,7 @@ # javalite, protoc and protobufjavautil versions should be in sync while updating and # it needs to match the protobuf version which grpc has transitive dependency on, which # needs to match the version of grpc that grpc-kotlin has a transitive dependency on. -androidGradlePlugin = "8.2.1" +androidGradlePlugin = "8.3.2" android-lint = "31.3.2" autovalue = "1.10.1" coroutines = "1.7.3"