Skip to content

Commit a5075dc

Browse files
yash1200Egor
authored andcommitted
[battery] Moved battery to its own subdir (flutter#2969)
This is the first step in the federation of the plugin.
1 parent b2d5c2c commit a5075dc

File tree

65 files changed

+8
-31
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+8
-31
lines changed

packages/battery/CHANGELOG.md renamed to packages/battery/battery/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
File renamed without changes.

packages/battery/example/pubspec.yaml renamed to packages/battery/battery/example/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ dev_dependencies:
1111
flutter_driver:
1212
sdk: flutter
1313
integration_test:
14-
path: ../../integration_test
14+
path: ../../../integration_test
1515
pedantic: ^1.8.0
1616

1717
flutter:

packages/battery/pubspec.yaml renamed to packages/battery/battery/pubspec.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name: battery
22
description: Flutter plugin for accessing information about the battery state
33
(full, charging, discharging) on Android and iOS.
4-
homepage: https://github.com/flutter/plugins/tree/master/packages/battery
5-
version: 1.0.4
4+
homepage: https://github.com/flutter/plugins/tree/master/packages/battery/battery
5+
version: 1.0.4+1
66

77
flutter:
88
plugin:
@@ -25,7 +25,7 @@ dev_dependencies:
2525
flutter_test:
2626
sdk: flutter
2727
integration_test:
28-
path: ../integration_test
28+
path: ../../integration_test
2929
pedantic: ^1.8.0
3030

3131
environment:

packages/battery/example/android.iml

Lines changed: 0 additions & 12 deletions
This file was deleted.

packages/battery/example/battery_example.iml

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)