Skip to content

Commit 6b9cbfb

Browse files
committed
Update pubspec.yaml for newer flutter versions.
1 parent 118e68d commit 6b9cbfb

File tree

2 files changed

+14
-12
lines changed

2 files changed

+14
-12
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.0.2
2+
3+
* Update pubspec.yaml format for newer versions of Flutter, require 1.10.
4+
15
## 0.0.1+1
26

37
* Suppress deprecation warnings in build, all uses are safe.

pubspec.yaml

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
name: flutter_windowmanager
22
description: A Flutter plugin for manipulating Android WindowManager LayoutParams.
3-
version: 0.0.1+1
4-
authors:
5-
- Paul Mundt <paul.mundt@adaptant.io>
6-
- Adaptant Labs <labs@adaptant.io>
7-
homepage: https://www.github.com/adaptant-labs/flutter_windowmanager
8-
repository: https://www.github.com/adaptant-labs/flutter_windowmanager
3+
version: 0.0.2
4+
homepage: https://github.com/adaptant-labs/flutter_windowmanager
5+
repository: https://github.com/adaptant-labs/flutter_windowmanager
96
issue_tracker: https://github.com/adaptant-labs/flutter_windowmanager/issues
107

118
environment:
129
sdk: ">=2.1.0 <3.0.0"
10+
# Flutter versions prior to 1.10 did not support
11+
# the flutter.plugin.platforms map.
12+
flutter: ">=1.10.0"
1313

1414
dependencies:
1515
flutter:
@@ -20,10 +20,8 @@ dev_dependencies:
2020
sdk: flutter
2121

2222
flutter:
23-
# This section identifies this Flutter project as a plugin project.
24-
# The androidPackage and pluginClass identifiers should not ordinarily
25-
# be modified. They are used by the tooling to maintain consistency when
26-
# adding or updating assets for this project.
2723
plugin:
28-
androidPackage: io.adaptant.labs.flutter_windowmanager
29-
pluginClass: FlutterWindowManagerPlugin
24+
platforms:
25+
android:
26+
package: io.adaptant.labs.flutter_windowmanager
27+
pluginClass: FlutterWindowManagerPlugin

0 commit comments

Comments
 (0)