From 9bac00cbeafcbef2b72427743aa686c276c44db5 Mon Sep 17 00:00:00 2001 From: Mark O'Sullivan Date: Sun, 26 Aug 2018 15:59:30 +0100 Subject: [PATCH] Issue 45/cannot use with dart2.1 (#46) * 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) --- CHANGELOG.md | 4 ++++ README.md | 7 +++++-- example/android/local.properties | 4 ++-- example/ios/Flutter/Generated.xcconfig | 7 ++++--- pubspec.yaml | 10 ++++++---- 5 files changed, 21 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 061d79a087..531b853dcb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/README.md b/README.md index b5f07d4427..4df5da7554 100644 --- a/README.md +++ b/README.md @@ -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) @@ -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. @@ -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 diff --git a/example/android/local.properties b/example/android/local.properties index 71b6850b7b..0c428da3b9 100644 --- a/example/android/local.properties +++ b/example/android/local.properties @@ -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 \ No newline at end of file diff --git a/example/ios/Flutter/Generated.xcconfig b/example/ios/Flutter/Generated.xcconfig index b22315ffb5..0b80219f87 100644 --- a/example/ios/Flutter/Generated.xcconfig +++ b/example/ios/Flutter/Generated.xcconfig @@ -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 diff --git a/pubspec.yaml b/pubspec.yaml index e0017ff37b..c444c5f58c 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -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: @@ -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'