Skip to content

Commit

Permalink
Issue 45/cannot use with dart2.1 (#46)
Browse files Browse the repository at this point in the history
* Upgraded dependencies so that it should now work with Dart 2.1.0 (thanks to @v3rm0n and @SPodjasek with the help with dart_config fixes)
  • Loading branch information
MarkOSullivan94 authored Aug 26, 2018
1 parent fe93a41 commit 9bac00c
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 11 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 0.6.1(26th August 2018)
- Upgraded test package
- Due to issue with dart_config not working with Dart 2.1.0, now using forked version of dart_config which contains fixes from both @v3rm0n and @SPodjasek

## 0.6.0 (8th August 2018)
- Moved the package to [Flutter Community](https://github.com/fluttercommunity/community)

Expand Down
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ A command-line tool which simplifies the task of updating your Flutter app's lau

## :sparkles: What's New

#### Version 0.6.1 (26th August 2018)
* Upgraded dependencies so that it should now work with Dart 2.1.0 (thanks to @v3rm0n and @SPodjasek with the help with dart_config fixes)

#### Version 0.6.0 (8th August 2018)
* Moved the package to [Flutter Community](https://github.com/fluttercommunity/community)

Expand All @@ -28,7 +31,7 @@ dev_dependencies:
flutter_test:
sdk: flutter

flutter_launcher_icons: "^0.6.0"
flutter_launcher_icons: "^0.6.1"
```
2. Within the same pubspec.yaml file, add flutter_icons config section.
Expand All @@ -40,7 +43,7 @@ dev_dependencies:
flutter_test:
sdk: flutter

flutter_launcher_icons: "^0.6.0"
flutter_launcher_icons: "^0.6.1"

flutter_icons:
android: true
Expand Down
4 changes: 2 additions & 2 deletions example/android/local.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
sdk.dir=/Users/mos/Library/Android/sdk
flutter.sdk=/Users/mos/Projects/Flutter/flutter-sdk
sdk.dir=/home/mos/Android/Sdk
flutter.sdk=/home/mos/Flutter
flutter.buildMode=debug
7 changes: 4 additions & 3 deletions example/ios/Flutter/Generated.xcconfig
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
// This is a generated file; do not edit or check into version control.
FLUTTER_ROOT=/Users/mos/Projects/Flutter/flutter-sdk
FLUTTER_APPLICATION_PATH=/Users/mos/Projects/example
FLUTTER_ROOT=/home/mos/Flutter
FLUTTER_APPLICATION_PATH=/home/mos/FlutterProjects/flutter_launcher_icons/example
FLUTTER_TARGET=lib/main.dart
FLUTTER_BUILD_MODE=debug
FLUTTER_BUILD_DIR=build
SYMROOT=${SOURCE_ROOT}/../build/ios
FLUTTER_FRAMEWORK_DIR=/Users/mos/Projects/Flutter/flutter-sdk/bin/cache/artifacts/engine/ios
FLUTTER_FRAMEWORK_DIR=/home/mos/Flutter/bin/cache/artifacts/engine/ios
PREVIEW_DART_2=true
10 changes: 6 additions & 4 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flutter_launcher_icons
description: A package which simplifies the task of updating your Flutter app's launcher icon. Fully flexible, allowing you to choose what platform you wish to update the launcher icon for and if you want, the option to keep your old launcher icon in case you want to revert back sometime in the future.
version: 0.6.0
version: 0.6.1
maintainer: Mark O'Sullivan (@MarkOSullivan94)
homepage: https://github.com/fluttercommunity/flutter_launcher_icons
authors:
Expand All @@ -10,10 +10,12 @@ authors:

dependencies:
image: "^2.0.0"
dart_config: "^0.5.0"

dart_config:
git:
url: https://github.com/MarkOSullivan94/dart_config.git

environment:
sdk: '>=2.0.0-dev.49.0 <3.0.0'

dev_dependencies:
test: '>=0.12.30 <1.0.0'
test: '^1.3.0'

0 comments on commit 9bac00c

Please sign in to comment.