• 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
Name
Last commit
Last update
.github Loading commit data...
bin Loading commit data...
dev Loading commit data...
examples Loading commit data...
packages Loading commit data...
.cirrus.yml Loading commit data...
.coveralls.yml 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...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
analysis_options.yaml Loading commit data...
appveyor.yml Loading commit data...
flutter_console.bat Loading commit data...