Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

Commit

Permalink
[google_sign_in] Use implementation rather than api dependencies for …
Browse files Browse the repository at this point in the history
…plugin third-party dependencies. (#2015)

* Use implementation rather than API dependencies for google_sign_in
  • Loading branch information
collinjackson committed Aug 26, 2019
1 parent e168ef5 commit 5f60b5a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions packages/google_sign_in/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 4.0.7

* Switch from using `api` to `implementation` for dependency on `play-services-auth`,
preventing version mismatch build failures in some Android configurations.

## 4.0.6

* Fixed the `PlatformException` leaking from `catchError()` in debug mode.
Expand Down
2 changes: 1 addition & 1 deletion packages/google_sign_in/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@ android {
}

dependencies {
api 'com.google.android.gms:play-services-auth:16.0.1'
implementation 'com.google.android.gms:play-services-auth:16.0.1'
implementation 'com.google.guava:guava:20.0'
}
2 changes: 1 addition & 1 deletion packages/google_sign_in/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: Flutter plugin for Google Sign-In, a secure authentication system
for signing in with a Google account on Android and iOS.
author: Flutter Team <flutter-dev@googlegroups.com>
homepage: https://github.com/flutter/plugins/tree/master/packages/google_sign_in
version: 4.0.6
version: 4.0.7

flutter:
plugin:
Expand Down

0 comments on commit 5f60b5a

Please sign in to comment.