• 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
Name
Last commit
Last update
.idea Loading commit data...
bin Loading commit data...
dev Loading commit data...
examples Loading commit data...
packages Loading commit data...
.analysis_options Loading commit data...
.analysis_options_repo Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
ISSUE_TEMPLATE.md Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
VERSION Loading commit data...
appveyor.yml Loading commit data...