Skip to content

Commit

Permalink
[shared_preferences] Fixes gradle version for shared preferences (mac…
Browse files Browse the repository at this point in the history
…os, web) bug on android (flutter#2470)

For some reason the version of gradle inside the android folders of the "sub packages" is different than the real one on the real shared_preferences plugin.

Even though my project only depends on the main package, I get an error when I try to run it:
  • Loading branch information
luanpotter authored and amirh committed Jan 21, 2020
1 parent 64c9c5e commit 1d56393
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.0.1+4

* Bump gradle version to avoid bugs with android projects

## 0.0.1+3

* Update README.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-5.1.1-all.zip
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: shared_preferences_macos
description: macOS implementation of the shared_preferences plugin.
version: 0.0.1+3
version: 0.0.1+4
homepage: https://github.com/flutter/plugins/tree/master/packages/shared_preferences/shared_preferences_macos

flutter:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.1.2+3

* Bump gradle version to avoid bugs with android projects

# 0.1.2+2

* Remove unused onMethodCall method.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-5.1.1-all.zip
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: shared_preferences_web
description: Web platform implementation of shared_preferences
homepage: https://github.com/flutter/plugins/tree/master/packages/shared_preferences/shared_preferences_web
version: 0.1.2+2
version: 0.1.2+3

flutter:
plugin:
Expand Down

0 comments on commit 1d56393

Please sign in to comment.