-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Add gradle wrapper to project template #10928
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
mit-mit
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
| @@ -0,0 +1 @@ | |||
| 0b5c1398d1d04ac245a310de98825cb7b3278e2a | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we add a comment in this file describing just what this version is used for?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That could trip up parsing. The version files for engine and material fonts do not include such a comment; file name says it all I guess.
jakobr-google
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
| if (location.existsSync()) | ||
| location.deleteSync(recursive: true); | ||
| location.createSync(recursive: true); | ||
| return updateInner().then<Null>((Null value) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
_ instead of Null value?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
Introduce use of gradle wrapper in project template to ensure repeatable builds. Manage gradle wrapper scripts and binary using Flutter tool cache. Update gradle and android gradle plugin versions to address #9842 and #10236.
Notes:
cache.darthas been refactored to avoid duplication across now three cached artifacts (material fonts, engine, gradle wrapper).androidfolder. These files should be checked into version control.