diff --git a/build/templates/flutter-install.yml b/build/templates/flutter-install.yml index 74f43975..7d222352 100644 --- a/build/templates/flutter-install.yml +++ b/build/templates/flutter-install.yml @@ -5,8 +5,9 @@ parameters: steps: - task: FlutterInstall@0 - displayName: "Run Flutter Install" + displayName: 'Run Flutter Install' inputs: mode: 'auto' channel: 'stable' - version: 'latest' + version: 'custom' + customVersion : $(FlutterVersion) diff --git a/build/variables.yml b/build/variables.yml index c6f57663..1956e6ee 100644 --- a/build/variables.yml +++ b/build/variables.yml @@ -56,7 +56,10 @@ AppCenterDistributionGroup: '00000000-0000-0000-0000-000000000000' # Solution to build. - projectName: FlutterApplicationTemplate + ProjectName: FlutterApplicationTemplate + + # Flutter version. + FlutterVersion: '3.22.1' # Virtual machine images. windowsHostedAgentImage: 'windows-2022' diff --git a/src/app/pubspec.lock b/src/app/pubspec.lock index 2517fce8..7b804cc2 100644 --- a/src/app/pubspec.lock +++ b/src/app/pubspec.lock @@ -1274,5 +1274,5 @@ packages: source: hosted version: "3.1.2" sdks: - dart: ">=3.3.0 <4.0.0" + dart: ">=3.4.0 <4.0.0" flutter: ">=3.19.0" diff --git a/src/app/pubspec.yaml b/src/app/pubspec.yaml index 2e6de35e..85f99b15 100644 --- a/src/app/pubspec.yaml +++ b/src/app/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: 'none' version: 1.0.0+1 environment: - sdk: '>=3.3.0 <4.0.0' + sdk: '>=3.4.0 <4.0.0' dependencies: dio: ^5.4.1 diff --git a/src/cli/CHANGELOG.md b/src/cli/CHANGELOG.md index 40a40def..a3436dd2 100644 --- a/src/cli/CHANGELOG.md +++ b/src/cli/CHANGELOG.md @@ -5,6 +5,9 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) Prefix your items with `(Template)` if the change is about the template and not the resulting application. +## 0.19.1 +- Target specific Dart (>=3.4.0 <4.0.0) / Flutter (3.22.1) SDK. + ## 0.19.0 - Replaced Powershell Copy Tool by a Dart CLI. diff --git a/src/cli/pubspec.yaml b/src/cli/pubspec.yaml index d4aa16f0..36ac2f75 100644 --- a/src/cli/pubspec.yaml +++ b/src/cli/pubspec.yaml @@ -4,7 +4,7 @@ version: 1.0.0 repository: https://github.com/nventive/FlutterApplicationTemplate environment: - sdk: ^3.3.4 + sdk: '>=3.4.0 <4.0.0' dependencies: args: ^2.4.2