Skip to content

Commit 04caaaf

Browse files
committed
Include explicitly protobuf dependency on testing
1 parent 8608014 commit 04caaaf

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

firebase-firestore/firebase-firestore.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ dependencies {
152152

153153
testImplementation project(':firebase-database-collection')
154154
testImplementation project(':firebase-firestore')
155+
testProtobuf("com.google.api.grpc:proto-google-common-protos:1.18.0")
155156
testImplementation libs.androidx.test.core
156157
testImplementation 'com.fasterxml.jackson.core:jackson-databind:2.9.8'
157158
testImplementation 'com.google.android.gms:play-services-tasks:18.0.1'

firebase-firestore/src/main/java/com/google/firebase/firestore/remote/TestingHooks.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
import static com.google.firebase.firestore.util.Preconditions.checkNotNull;
1818

19+
import android.annotation.SuppressLint;
1920
import androidx.annotation.AnyThread;
2021
import androidx.annotation.NonNull;
2122
import androidx.annotation.Nullable;
@@ -34,6 +35,7 @@
3435
*
3536
* <p>Do not use this class except for testing purposes.
3637
*/
38+
@SuppressLint("SupportAnnotationUsage")
3739
@VisibleForTesting
3840
final class TestingHooks {
3941

0 commit comments

Comments
 (0)