flutter/packages/flutter_tools/templates
Jakob Andersen 5541d71b11 Android: Set evaluationDependsOn for plugin subprojects. (#9179)
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`.
2017-04-04 13:03:06 +02:00
..
create Android: Set evaluationDependsOn for plugin subprojects. (#9179) 2017-04-04 13:03:06 +02:00
driver [driver] "waitFor" command in place of broken "exists" (#3373) 2016-04-19 09:49:22 -07:00
plugin Android: Set evaluationDependsOn for plugin subprojects. (#9179) 2017-04-04 13:03:06 +02:00
.gitignore Pull iOS build templates from flutter tools vs engine artifacts (#4526) 2016-06-13 12:30:08 -07:00