flutter/packages/flutter_tools/templates
Greg Spencer e262817ac2
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.
2018-07-27 18:24:13 -07:00
..
cocoapods Recommend using Cocoapods 1.5.0 (#17308) 2018-05-08 08:02:39 +02:00
create Fix the gradle templates so that they default to values rather than throw build exceptions. (#19916) 2018-07-27 18:24:13 -07:00
driver Fix template for the driver test file created by 'flutter create' (#13472) 2017-12-08 20:39:56 -08:00
module Fix the gradle templates so that they default to values rather than throw build exceptions. (#19916) 2018-07-27 18:24:13 -07:00
package Update template .gitignore rules (#15382) 2018-04-09 15:02:24 -07:00
plugin Fix outdated link for how to edit plugin code (#18069) 2018-06-13 13:40:55 -07:00