Skip to content

Commit

Permalink
Remove "pluginClass: none" from pubspecs (flutter#4475)
Browse files Browse the repository at this point in the history
This workaround has not been needed since Flutter 1.20, and all plugins
now require at least Flutter 2.0, so it can be safely removed.

Part of flutter/flutter#57497
  • Loading branch information
stuartmorgan committed Nov 10, 2021
1 parent b224f2f commit 64b6cab
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 10 deletions.
4 changes: 4 additions & 0 deletions packages/path_provider/path_provider_linux/CHANGELOG.md
@@ -1,3 +1,7 @@
## 2.1.1

* Removed obsolete `pluginClass: none` from pubpsec.

## 2.1.0

* Now `getTemporaryPath` returns the value of the `TMPDIR` environment variable primarily. If `TMPDIR` is not set, `/tmp` is returned.
Expand Down
3 changes: 1 addition & 2 deletions packages/path_provider/path_provider_linux/pubspec.yaml
Expand Up @@ -2,7 +2,7 @@ name: path_provider_linux
description: Linux implementation of the path_provider plugin
repository: https://github.com/flutter/plugins/tree/master/packages/path_provider/path_provider_linux
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+path_provider%22
version: 2.1.0
version: 2.1.1

environment:
sdk: ">=2.12.0 <3.0.0"
Expand All @@ -14,7 +14,6 @@ flutter:
platforms:
linux:
dartPluginClass: PathProviderLinux
pluginClass: none

dependencies:
flutter:
Expand Down
4 changes: 4 additions & 0 deletions packages/path_provider/path_provider_windows/CHANGELOG.md
@@ -1,3 +1,7 @@
## 2.0.4

* Removed obsolete `pluginClass: none` from pubpsec.

## 2.0.3

* Updated installation instructions in README.
Expand Down
3 changes: 1 addition & 2 deletions packages/path_provider/path_provider_windows/pubspec.yaml
Expand Up @@ -2,7 +2,7 @@ name: path_provider_windows
description: Windows implementation of the path_provider plugin
repository: https://github.com/flutter/plugins/tree/master/packages/path_provider/path_provider_windows
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+path_provider%22
version: 2.0.3
version: 2.0.4

environment:
sdk: ">=2.12.0 <3.0.0"
Expand All @@ -14,7 +14,6 @@ flutter:
platforms:
windows:
dartPluginClass: PathProviderWindows
pluginClass: none

dependencies:
ffi: ^1.0.0
Expand Down
@@ -1,5 +1,6 @@
## NEXT
## 2.0.3

* Removed obsolete `pluginClass: none` from pubpsec.
* Fixes newly enabled analyzer options.

## 2.0.2
Expand Down
Expand Up @@ -2,7 +2,7 @@ name: shared_preferences_linux
description: Linux implementation of the shared_preferences plugin
repository: https://github.com/flutter/plugins/tree/master/packages/shared_preferences/shared_preferences_linux
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+shared_preferences%22
version: 2.0.2
version: 2.0.3

environment:
sdk: ">=2.12.0 <3.0.0"
Expand All @@ -14,7 +14,6 @@ flutter:
platforms:
linux:
dartPluginClass: SharedPreferencesLinux
pluginClass: none

dependencies:
file: ^6.0.0
Expand Down
@@ -1,5 +1,6 @@
## NEXT
## 2.0.3

* Removed obsolete `pluginClass: none` from pubpsec.
* Fixes newly enabled analyzer options.

## 2.0.2
Expand Down
Expand Up @@ -2,7 +2,7 @@ name: shared_preferences_windows
description: Windows implementation of shared_preferences
repository: https://github.com/flutter/plugins/tree/master/packages/shared_preferences/shared_preferences_windows
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+shared_preferences%22
version: 2.0.2
version: 2.0.3

environment:
sdk: '>=2.12.0 <3.0.0'
Expand All @@ -14,7 +14,6 @@ flutter:
platforms:
windows:
dartPluginClass: SharedPreferencesWindows
pluginClass: none

dependencies:
file: ^6.0.0
Expand Down

0 comments on commit 64b6cab

Please sign in to comment.