{"id":13553296,"url":"https://github.com/aloisdeniel/vsts-flutter-tasks","last_synced_at":"2025-09-12T21:45:20.189Z","repository":{"id":45947126,"uuid":"151526502","full_name":"aloisdeniel/vsts-flutter-tasks","owner":"aloisdeniel","description":"Flutter build tasks for Azure DevOps Pipelines/TFS.","archived":false,"fork":false,"pushed_at":"2023-09-20T13:24:13.000Z","size":263,"stargazers_count":108,"open_issues_count":45,"forks_count":82,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-04-02T00:51:13.370Z","etag":null,"topics":["android","azure","devops","flutter","ios","mobile","vsts"],"latest_commit_sha":null,"homepage":"https://marketplace.visualstudio.com/items?itemName=aloisdeniel.flutter","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aloisdeniel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2018-10-04T06:11:58.000Z","updated_at":"2025-02-06T11:51:39.000Z","dependencies_parsed_at":"2024-04-07T22:45:29.810Z","dependency_job_id":null,"html_url":"https://github.com/aloisdeniel/vsts-flutter-tasks","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aloisdeniel/vsts-flutter-tasks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aloisdeniel%2Fvsts-flutter-tasks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aloisdeniel%2Fvsts-flutter-tasks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aloisdeniel%2Fvsts-flutter-tasks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aloisdeniel%2Fvsts-flutter-tasks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aloisdeniel","download_url":"https://codeload.github.com/aloisdeniel/vsts-flutter-tasks/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aloisdeniel%2Fvsts-flutter-tasks/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274881402,"owners_count":25367271,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-12T02:00:09.324Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","azure","devops","flutter","ios","mobile","vsts"],"created_at":"2024-08-01T12:02:21.581Z","updated_at":"2025-09-12T21:45:20.124Z","avatar_url":"https://github.com/aloisdeniel.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"\u003e As I'm not using Microsoft tools anymore I won't maintain this repository in the future. If someone wants the repository ownership please contact me on [X](https://twitter.com/aloisdeniel).\n\n# Flutter for Azure DevOps\n\n[Flutter](http://flutter.io) build task for [Azure DevOps](https://azure.microsoft.com/fr-fr/services/devops/).\n\n## Installation\n\nInstallation can be done using [Visual Studio MarketPlace](https://marketplace.visualstudio.com/items?itemName=aloisdeniel.flutter).\n\n## Source Code\n\nSource code can be found on [Github](https://github.com/aloisdeniel/vsts-flutter-tasks).\n\n## Usage\n\nAdd the tasks to your build definition.\n\n### Install\n\n![](images/step_install.png)\n\nInstalls the [Flutter SDK](https://flutter.io/sdk-archive/) onto the running agent if not already installed. Then uses it for following tasks.\n\n* Select the `channel`: `stable (default)`, `beta`, or `dev`.\n* Select the `version` of the SDK to install:  `latest (default)`, `custom`. If `custom` is specified, a `custom version` must be set.\n* _(Optional)_. Set the `custom version` (in a `\u003cM\u003e.\u003cm\u003e.\u003cp\u003e` semver format) if needed.\n\n### Build\n\n![](images/step_build.png)\n\nBuild the given mobile application project. You must call the `Flutter Install` task, set a `FlutterToolPath` environment variable, or use the optional Flutter SDK Path task entry that points to your `flutter/bin` folder before execution. All the application bundles are created into the `build/outputs` folder of your project.\n\n* Select the `project source directory` (that contains to `pubspec.yaml` file).\n* Select the `target` platform: `Android (default)`, `iOS`, or `All` for both.\n* _(Optional)_. Set `flutter sdk path` if using a local agent with a pre-installed Flutter SDK, can specify the path to utilize it.  Otherwise use Flutter Install.\n* _(Optional)_. Set `package name` (like `1.2.3`) that will override the manifest's one.\n* _(Optional)_. Set `package number` (like `12`) that will override the manifest's one.\n* _(Optional)_. Set `build flavour` (like `development`) to specify a build flavour.  Must match Android Gradle flavor definition or XCode scheme.\n* _(Optional)_. Set `debug` if you wish to override the default release mode for the build.\n* _(Optional)_. Set `Additional arguments` if you wish to adds custom arguments to the `build` command.\n* __(Android)__._(Optional)_. Set `platform` for the Android target: `android-arm (default)`, `android-arm64`.\n* __(iOS)__._(Optional)_. Set `platform` for the iOS target: `device (default)`, `simulator`.\n* __(iOS)__._(Optional)_. Codesign the application bundle (only available on device builds, and activated by default). **Warning: you must install a valid certificate before build with the `Install an Apple Certificate`task**\n\n### Test\n\n![](images/step_test.png)\n\nLaunch tests and publish a report as build test results.\n\n* Select the `project source directory` (that contains to `pubspec.yaml` file).\n* _(Optional)_. Set `test name` as a regular expression matching substrings of the names of tests to run.\n* _(Optional)_. Set `Test plain name` as a plain-text substring of the names of tests to run.\n* _(Optional)_. Set `Test plain name` as a plain-text substring of the names of tests to run.\n* _(Optional)_. Set `update goldens`: whether `matchesGoldenFile()` calls within your test methods should update the golden files rather than test for an existing match.\n* _(Optional)_. The number of `concurrent` test processes to run. (defaults to `6`)\n\n### command\n\nLaunch a Flutter command with custom arguments.\n\n## FAQ\n\n\n\u003e Flutter command isn't recognized ?\n\nMake sure that you have a `Flutter Install` at the beginning of your definition.\n\n\u003e Can I run a custom Flutter command ?\n\nYes, right after the `Flutter Install` task, a `FlutterToolPath` environment variable points to the `bin` of the Flutter SDK directory. You just have to use `$(FlutterToolPath)` in your following tasks.\n\n\u003e Can I run Dart program ?\n\nYes, actually a Dart runtime is embedded with Flutter tools (in the `/cache/dart-sdk/bin` subdirectory). \n\nA task example :\n\n```yaml\n- task: CmdLine@2\n  displayName: 'Execute Dart program'\n  inputs:\n    script: '$(FlutterToolPath)/cache/dart-sdk/bin/dart program.dart arg1 arg2'\n    workingDirectory: 'src'\n```\n\n## License\n\n[MIT](https://raw.githubusercontent.com/aloisdeniel/vsts-flutter-tasks/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faloisdeniel%2Fvsts-flutter-tasks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faloisdeniel%2Fvsts-flutter-tasks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faloisdeniel%2Fvsts-flutter-tasks/lists"}