1. 14 Sep, 2019 1 commit
  2. 24 Jan, 2019 2 commits
  3. 20 Oct, 2018 1 commit
  4. 18 Oct, 2018 2 commits
  5. 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
  6. 01 Jun, 2018 1 commit
  7. 31 May, 2018 2 commits
  8. 28 May, 2018 4 commits
  9. 20 Dec, 2017 1 commit
  10. 13 Dec, 2017 1 commit
  11. 29 Jun, 2017 1 commit
  12. 26 Jun, 2017 1 commit
  13. 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
  14. 24 May, 2017 1 commit
  15. 04 Apr, 2017 1 commit
    • Jakob Andersen's avatar
      Android: Set evaluationDependsOn for plugin subprojects. (#9179) · 5541d71b
      Jakob Andersen authored
      Gradle projects are evaluated in lexicographical order, and the plugin
      projects are at the same level as the :app project, so if a plugin has
      a name that comes before 'app' (like, for example, any name that starts
      with a capital letter), the plugin project will be evaluated before
      :app.
      
      Since :app applies the Flutter Gradle plugin, which tries to
      modify the dependencies of the plugin projects, we have a problem if the
      plugin projects have already been evaluated. Adding
      evaluationDependsOn(':app') to the plugin projects fixes this.
      
      Updated example projects to the latest (plugin-enabled) Gradle build
      files.
      
      Also removed two unused imports in `pluginClass.java.tmpl`.
      5541d71b
  16. 22 Mar, 2017 1 commit
  17. 21 Mar, 2017 1 commit
  18. 15 Mar, 2017 1 commit
    • Jakob Andersen's avatar
      Put Gradle output in build/ (#8759) · 1457f3db
      Jakob Andersen authored
      Changed the default build output directory in the new project template
      to build/, instead of android/build/ and android/app/build/.
      
      Updated tools to ask the Gradle scripts what the build directory is,
      since this is configurable in the build scripts, and we need to know
      where the build output actually is.
      
      Silenced output from 'flutter build aot' when invoked from Gradle, since
      the output was confusing in this case.
      
      Fixes #8723
      Fixes #8656
      Fixes #8138
      1457f3db
  19. 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
  20. 23 Jan, 2017 1 commit
  21. 15 Dec, 2016 1 commit
  22. 03 Jun, 2016 1 commit
  23. 10 May, 2016 1 commit
  24. 14 Mar, 2016 1 commit