Skip to content

Commit

Permalink
Update all pubspecs to work with the latest version of pub and Flutter (
Browse files Browse the repository at this point in the history
flutter#2382)

* Migrated all plugins to the new [plugin platforms manifest](https://flutter.dev/docs/development/packages-and-plugins/developing-packages#plugin-platforms)
* Removed `author:` and `authors:` fields from all pubspecs as the fields are deprecated, moved author names from various plugins to the repository's AUTHORS file.
  • Loading branch information
amirh authored and Egor committed Nov 20, 2020
1 parent 8ee667c commit 3ee291f
Show file tree
Hide file tree
Showing 86 changed files with 336 additions and 159 deletions.
7 changes: 6 additions & 1 deletion AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,9 @@ Audrius Karosevicius <audrius.karosevicius@gmail.com>
Lukasz Piliszczuk <lukasz@intheloup.io>
SoundReply Solutions GmbH <ch@soundreply.com>
Rafal Wachol <rwachol@gmail.com>
Pau Picas <pau.picas@gmail.com>
Pau Picas <pau.picas@gmail.com>
Rhodes Davis Jr. <rody.davis.jr@gmail.com>
Luigi Agosti <luigi@tengio.com>
Quentin Le Guennec <quentin@tengio.com>
Koushik Ravikumar <koushik@tengio.com>
Nissim Dsilva <nissim@tengio.com>
6 changes: 6 additions & 0 deletions packages/android_alarm_manager/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 0.4.5+2

* Remove the deprecated `author:` field from pubspec.yaml
* Migrate the plugin to the pubspec platforms manifest.
* Require Flutter SDK 1.10.0 or greater.

## 0.4.5+1

* Loosen Flutter version restriction to 1.9.1. **NOTE: plugin registration
Expand Down
5 changes: 2 additions & 3 deletions packages/android_alarm_manager/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
name: android_alarm_manager
description: Flutter plugin for accessing the Android AlarmManager service, and
running Dart code in the background when alarms fire.
version: 0.4.5+1
author: Flutter Team <flutter-dev@googlegroups.com>
version: 0.4.5+2
homepage: https://github.com/flutter/plugins/tree/master/packages/android_alarm_manager

dependencies:
Expand All @@ -22,4 +21,4 @@ flutter:

environment:
sdk: ">=2.0.0-dev.28.0 <3.0.0"
flutter: ">=1.9.1 <2.0.0"
flutter: ">=1.10.0 <2.0.0"
6 changes: 6 additions & 0 deletions packages/android_intent/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 0.3.4+8

* Remove the deprecated `author:` field from pubspec.yaml
* Migrate the plugin to the pubspec platforms manifest.
* Require Flutter SDK 1.10.0 or greater.

## 0.3.4+7

* Fix pedantic linter errors.
Expand Down
12 changes: 6 additions & 6 deletions packages/android_intent/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name: android_intent
description: Flutter plugin for launching Android Intents. Not supported on iOS.
author: Flutter Team <flutter-dev@googlegroups.com>
homepage: https://github.com/flutter/plugins/tree/master/packages/android_intent
version: 0.3.4+7
version: 0.3.4+8

flutter:
plugin:
androidPackage: io.flutter.plugins.androidintent
iosPrefix: FLT
pluginClass: AndroidIntentPlugin
platforms:
android:
package: io.flutter.plugins.androidintent
pluginClass: AndroidIntentPlugin

dependencies:
flutter:
Expand All @@ -22,4 +22,4 @@ dev_dependencies:
sdk: flutter
environment:
sdk: ">=2.0.0-dev.28.0 <3.0.0"
flutter: ">=1.6.7 <2.0.0"
flutter: ">=1.10.0 <2.0.0"
6 changes: 6 additions & 0 deletions packages/battery/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 0.3.1+6

* Remove the deprecated `author:` field from pubspec.yaml
* Migrate the plugin to the pubspec platforms manifest.
* Require Flutter SDK 1.10.0 or greater.

## 0.3.1+5

* Fix pedantic linter errors.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#import "BatteryPlugin.h"
#import "FLTBatteryPlugin.h"

@interface FLTBatteryPlugin () <FlutterStreamHandler>
@end
Expand Down
14 changes: 8 additions & 6 deletions packages/battery/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
name: battery
description: Flutter plugin for accessing information about the battery state
(full, charging, discharging) on Android and iOS.
author: Flutter Team <flutter-dev@googlegroups.com>
homepage: https://github.com/flutter/plugins/tree/master/packages/battery
version: 0.3.1+5
version: 0.3.1+6

flutter:
plugin:
androidPackage: io.flutter.plugins.battery
iosPrefix: FLT
pluginClass: BatteryPlugin
platforms:
android:
package: io.flutter.plugins.battery
pluginClass: BatteryPlugin
ios:
pluginClass: FLTBatteryPlugin

dependencies:
flutter:
Expand All @@ -26,4 +28,4 @@ dev_dependencies:

environment:
sdk: ">=2.0.0-dev.28.0 <3.0.0"
flutter: ">=1.6.7 <2.0.0"
flutter: ">=1.10.0 <2.0.0"
6 changes: 6 additions & 0 deletions packages/camera/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 0.5.7+2

* Remove the deprecated `author:` field from pubspec.yaml
* Migrate the plugin to the pubspec platforms manifest.
* Require Flutter SDK 1.10.0 or greater.

## 0.5.7+1

* Fix example null exception.
Expand Down
1 change: 0 additions & 1 deletion packages/camera/example/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
name: camera_example
description: Demonstrates how to use the camera plugin.
author: Flutter Team <flutter-dev@googlegroups.com>

dependencies:
camera:
Expand Down
19 changes: 8 additions & 11 deletions packages/camera/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,7 @@ name: camera
description: A Flutter plugin for getting information about and controlling the
camera on Android and iOS. Supports previewing the camera feed, capturing images, capturing video,
and streaming image buffers to dart.
version: 0.5.7+1

authors:
- Flutter Team <flutter-dev@googlegroups.com>
- Luigi Agosti <luigi@tengio.com>
- Quentin Le Guennec <quentin@tengio.com>
- Koushik Ravikumar <koushik@tengio.com>
- Nissim Dsilva <nissim@tengio.com>
version: 0.5.7+2

homepage: https://github.com/flutter/plugins/tree/master/packages/camera

Expand All @@ -27,9 +20,13 @@ dev_dependencies:

flutter:
plugin:
androidPackage: io.flutter.plugins.camera
pluginClass: CameraPlugin
platforms:
android:
package: io.flutter.plugins.camera
pluginClass: CameraPlugin
ios:
pluginClass: CameraPlugin

environment:
sdk: ">=2.0.0-dev.28.0 <3.0.0"
flutter: ">=1.6.7 <2.0.0"
flutter: ">=1.10.0 <2.0.0"
6 changes: 6 additions & 0 deletions packages/connectivity/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 0.4.6+1

* Remove the deprecated `author:` field from pubspec.yaml
* Migrate the plugin to the pubspec platforms manifest.
* Require Flutter SDK 1.10.0 or greater.

## 0.4.6

* Add macOS support.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#import "ConnectivityPlugin.h"
#import "FLTConnectivityPlugin.h"

#import "Reachability/Reachability.h"

Expand Down
14 changes: 8 additions & 6 deletions packages/connectivity/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
name: connectivity
description: Flutter plugin for discovering the state of the network (WiFi &
mobile/cellular) connectivity on Android and iOS.
author: Flutter Team <flutter-dev@googlegroups.com>
homepage: https://github.com/flutter/plugins/tree/master/packages/connectivity
version: 0.4.6
version: 0.4.6+1

flutter:
plugin:
androidPackage: io.flutter.plugins.connectivity
iosPrefix: FLT
pluginClass: ConnectivityPlugin
platforms:
android:
package: io.flutter.plugins.connectivity
pluginClass: ConnectivityPlugin
ios:
pluginClass: FLTConnectivityPlugin

dependencies:
flutter:
Expand All @@ -26,4 +28,4 @@ dev_dependencies:

environment:
sdk: ">=2.0.0-dev.28.0 <3.0.0"
flutter: ">=1.6.7 <2.0.0"
flutter: ">=1.10.0 <2.0.0"
6 changes: 6 additions & 0 deletions packages/device_info/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 0.4.1+4

* Remove the deprecated `author:` field from pubspec.yaml
* Migrate the plugin to the pubspec platforms manifest.
* Require Flutter SDK 1.10.0 or greater.

## 0.4.1+3

* Fix pedantic errors. Adds some missing documentation and fixes unawaited
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#import "DeviceInfoPlugin.h"
#import "FLTDeviceInfoPlugin.h"
#import <sys/utsname.h>

@implementation FLTDeviceInfoPlugin
Expand Down
14 changes: 8 additions & 6 deletions packages/device_info/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
name: device_info
description: Flutter plugin providing detailed information about the device
(make, model, etc.), and Android or iOS version the app is running on.
author: Flutter Team <flutter-dev@googlegroups.com>
homepage: https://github.com/flutter/plugins/tree/master/packages/device_info
version: 0.4.1+3
version: 0.4.1+4

flutter:
plugin:
androidPackage: io.flutter.plugins.deviceinfo
iosPrefix: FLT
pluginClass: DeviceInfoPlugin
platforms:
android:
package: io.flutter.plugins.deviceinfo
pluginClass: DeviceInfoPlugin
ios:
pluginClass: FLTDeviceInfoPlugin

dependencies:
flutter:
Expand All @@ -23,4 +25,4 @@ dev_dependencies:

environment:
sdk: ">=2.0.0-dev.28.0 <3.0.0"
flutter: ">=1.6.7 <2.0.0"
flutter: ">=1.10.0 <2.0.0"
6 changes: 6 additions & 0 deletions packages/e2e/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 0.2.2+3

* Remove the deprecated `author:` field from pubspec.yaml
* Migrate the plugin to the pubspec platforms manifest.
* Require Flutter SDK 1.10.0 or greater.

## 0.2.2+2

* Adds an android dummy project to silence warnings and removes unnecessary
Expand Down
13 changes: 8 additions & 5 deletions packages/e2e/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
name: e2e
description: Runs tests that use the flutter_test API as integration tests.
version: 0.2.2+2
author: Flutter Team <flutter-dev@googlegroups.com>
version: 0.2.2+3
homepage: https://github.com/flutter/plugins/tree/master/packages/e2e

environment:
sdk: ">=2.1.0 <3.0.0"
flutter: ">=1.6.7 <2.0.0"
flutter: ">=1.10.0 <2.0.0"

dependencies:
flutter:
Expand All @@ -16,5 +15,9 @@ dependencies:

flutter:
plugin:
androidPackage: dev.flutter.plugins.e2e
pluginClass: E2EPlugin
platforms:
android:
package: dev.flutter.plugins.e2e
pluginClass: E2EPlugin
ios:
pluginClass: E2EPlugin
5 changes: 5 additions & 0 deletions packages/flutter_plugin_android_lifecycle/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 1.0.3

* Remove the deprecated `author:` field from pubspec.yaml
* Require Flutter SDK 1.10.0 or greater.

## 1.0.2

* Adapt to the embedding API changes in https://github.com/flutter/engine/pull/13280 (only supports Activity Lifecycle).
Expand Down
4 changes: 2 additions & 2 deletions packages/flutter_plugin_android_lifecycle/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: flutter_plugin_android_lifecycle
description: Flutter plugin for accessing an Android Lifecycle within other plugins.
version: 1.0.2
author: Flutter Team <flutter-dev@googlegroups.com>
version: 1.0.3
homepage: https://github.com/flutter/plugins/tree/master/packages/flutter_plugin_android_lifecycle

environment:
sdk: ">=2.1.0 <3.0.0"
flutter: ">=1.10.0 <2.0.0"

dependencies:
flutter:
Expand Down
6 changes: 6 additions & 0 deletions packages/google_maps_flutter/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 0.5.21+15

* Remove the deprecated `author:` field from pubspec.yaml
* Migrate the plugin to the pubspec platforms manifest.
* Require Flutter SDK 1.10.0 or greater.

## 0.5.21+14

* Adds support for toggling 3D buildings.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#import "GoogleMapsPlugin.h"
#import "FLTGoogleMapsPlugin.h"

#pragma mark - GoogleMaps plugin implementation

Expand Down
14 changes: 8 additions & 6 deletions packages/google_maps_flutter/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
name: google_maps_flutter
description: A Flutter plugin for integrating Google Maps in iOS and Android applications.
author: Flutter Team <flutter-dev@googlegroups.com>
homepage: https://github.com/flutter/plugins/tree/master/packages/google_maps_flutter
version: 0.5.21+14
version: 0.5.21+15

dependencies:
flutter:
Expand All @@ -20,11 +19,14 @@ dev_dependencies:

flutter:
plugin:
androidPackage: io.flutter.plugins.googlemaps
iosPrefix: FLT
pluginClass: GoogleMapsPlugin
platforms:
android:
package: io.flutter.plugins.googlemaps
pluginClass: GoogleMapsPlugin
ios:
pluginClass: FLTGoogleMapsPlugin


environment:
sdk: ">=2.0.0-dev.47.0 <3.0.0"
flutter: ">=1.5.0 <2.0.0"
flutter: ">=1.10.0 <2.0.0"
6 changes: 6 additions & 0 deletions packages/google_sign_in/google_sign_in/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 4.0.16

* Remove the deprecated `author:` field from pubspec.yaml
* Migrate the plugin to the pubspec platforms manifest.
* Require Flutter SDK 1.10.0 or greater.

## 4.0.15

* Export SignInOption from interface since it is used in the frontend as a type.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

#import "GoogleSignInPlugin.h"
#import "FLTGoogleSignInPlugin.h"
#import <GoogleSignIn/GoogleSignIn.h>

// The key within `GoogleService-Info.plist` used to hold the application's
Expand Down
Loading

0 comments on commit 3ee291f

Please sign in to comment.