You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A recent change to `CopyGoogleServicesPlugin.kt` in #7454 caused it to skip all of its logic if the project already had its own `google-services.json` (as firebase-dataconnect _does_). Part of this logic is to apply the `com.google.gms.google-services` Gradle plugin when running (or compiling) tests. The `firebase-dataconnect` project relied on this side effect and the changes to `CopyGoogleServicesPlugin.kt` caused this side effect to no longer happen to firebase-dataconnect, causing the following build error:
```
firebase-dataconnect/src/androidTest/kotlin/com/google/firebase/dataconnect/testutil/FirebaseAppIdTestUtil.kt:23:68 Unresolved reference 'string'.
```
The fix in this commit modifies `CopyGoogleServicesPlugin.kt` to apply the `com.google.gms.google-services` Gradle plugin just as it did before, even if the project defines its own `google-services.json`. This was probably the intended behavior all along.
0 commit comments