1. 13 Feb, 2020 1 commit
  2. 27 Nov, 2019 1 commit
    • Ian Hickson's avatar
      License update (#45373) · 449f4a66
      Ian Hickson authored
      * Update project.pbxproj files to say Flutter rather than Chromium
      
      Also, the templates now have an empty organization so that we don't cause people to give their apps a Flutter copyright.
      
      * Update the copyright notice checker to require a standard notice on all files
      
      * Update copyrights on Dart files. (This was a mechanical commit.)
      
      * Fix weird license headers on Dart files that deviate from our conventions; relicense Shrine.
      
      Some were already marked "The Flutter Authors", not clear why. Their
      dates have been normalized. Some were missing the blank line after the
      license. Some were randomly different in trivial ways for no apparent
      reason (e.g. missing the trailing period).
      
      * Clean up the copyrights in non-Dart files. (Manual edits.)
      
      Also, make sure templates don't have copyrights.
      
      * Fix some more ORGANIZATIONNAMEs
      449f4a66
  3. 25 Sep, 2019 1 commit
  4. 03 Jul, 2019 1 commit
  5. 19 Jan, 2019 2 commits
  6. 18 Dec, 2018 1 commit
  7. 04 Oct, 2018 1 commit
    • Greg Spencer's avatar
      Rename module --> application in flutter create command. (#22565) · 9f23866a
      Greg Spencer authored
      This renames the "module" template to the "application" template, and makes "application" the default. The existing "app" template is now deprecated.
      
      flutter create also now recognizes the type of project in an existing directory, and is able to recreate it without having the template type explicitly specified (although you can still do that). It does this now by first looking in the .metadata file for the new project_type field, and if it doesn't find that, then it looks at the directory structure. Also, the .metadata file is now overwritten even on an existing directory so that 1) the project_type can be added to legacy projects, and 2) the version of Flutter that updated the project last is updated.
      
      I also cleaned up a bunch of things in create_test.dart, added many more tests, and added an example test to the test/ directory in the generated output of the application template.
      
      Fixes #22530
      Fixes #22344
      9f23866a
  8. 28 Jul, 2018 1 commit
    • Greg Spencer's avatar
      Fix the gradle templates so that they default to values rather than throw... · e262817a
      Greg Spencer authored
      Fix the gradle templates so that they default to values rather than throw build exceptions. (#19916)
      
      When creating a new project, the build fails with an error similar to:
      
      "versionCode not found. Define flutter.versionCode in the local.properties file."
      
      This puts developers in the untenable situation of having to edit a file with local paths, but being unable to check it in.
      
      This changes the templates to default to using versionCode 1 and version "1.0" if they are not defined in the local.properties file.
      
      Fixes #18983.
      e262817a
  9. 01 Jun, 2018 1 commit
  10. 31 May, 2018 2 commits
  11. 30 May, 2018 1 commit
    • Ralph Bergmann's avatar
      add version to pubspec.yaml (#16857) · c65e9d19
      Ralph Bergmann authored
      Uses the `version` property from the `pubspec.yaml` file to set the corresponding fields in the `local.properties` file respectively in the `Generated.xcconfig` file.
      
      The `--build-name` and `--build-number` options have changed. Now they trump the `version` property from the `pubspec.yaml` file.
      
      If the `version` property is not set and the  `--build-name` and `--build-number` options are not provided, the build command will not change the `local.properties` / `Generated.xcconfig` file.
      c65e9d19
  12. 28 May, 2018 4 commits
  13. 08 Jan, 2018 2 commits
  14. 14 Dec, 2017 1 commit
  15. 13 Dec, 2017 1 commit
  16. 29 Jun, 2017 1 commit
  17. 20 Jun, 2017 1 commit
    • Michael Goderbauer's avatar
      Update templates to include google's maven repository (#10842) · 2f979914
      Michael Goderbauer authored
      Going forward, Android support libraries are published on maven (instead of bundling them with the SDK). Many plugins depend on these. To avoid requiring plugin users to add the maven repository to their app this change adds the repository to the template for `flutter create`.
      
      This also bumps the support-annotations dependency to 25.4.0 (which also requires the new maven repository).
      2f979914
  18. 24 May, 2017 1 commit
  19. 09 May, 2017 1 commit
  20. 08 May, 2017 2 commits
  21. 24 Apr, 2017 1 commit
  22. 09 Mar, 2017 1 commit
  23. 28 Feb, 2017 1 commit
  24. 21 Feb, 2017 1 commit
  25. 10 Feb, 2017 1 commit
    • Jakob Andersen's avatar
      Make new project template gradle-based for Android. (#7902) · b246c5e7
      Jakob Andersen authored
      * Make new project template gradle-based for Android.
      
      With this change, the 'new project' template uses the same gradle-based build for Android as the hello_services example. This has some implications on build performance, since we're now building a complete Android app instead of just combining a pre-compiled .dex with the Flutter assets.
      
      The very first build is a little over 2x slower, since it needs to download gradle and build the build scripts before getting to the actual code. Subsequent builds with changes to the code are comparable to the old builds. Null builds are faster. Enabling the gradle daemon speeds up subsequent builds by around 5s.
      
      * Move Flutter Gradle plugin to Flutter root.
      b246c5e7
  26. 31 Jan, 2017 1 commit
  27. 15 Dec, 2016 1 commit
  28. 03 Jun, 2016 1 commit
  29. 14 Mar, 2016 1 commit