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 Egor committed Nov 20, 2020
1 parent 24cb2af commit fb02ce1
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 4 deletions.
@@ -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
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
@@ -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
@@ -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
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
@@ -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 fb02ce1

Please sign in to comment.