Updates latest gradle & kotlin versions#32550
Conversation
|
The Windows tests fail for other reasons with the error message: |
|
Related: #31029 |
|
Argh, didn’t see your PR, @athornz. :-) Only difference seems a slight version update (5.4.1 vs 5.4, Kotlin 1.3.31) in this PR vs yours. Will you update yours? If yes we can close this one. |
|
Yeah, it's been open for a while! Yours is more up to date and we may as well leave them both open so there's more chance of getting them merged. |
|
Flaky test was resolved by simply re-running it. This is now passing. @gspencergoog - is this something you could help to approve / merge? |
|
@blasten perhaps you could help to review this as well. |
|
Not upgrading the gradle version to 3.4.1 in @blasten Could you please take a look here, as well. :-) |
|
I will continue the update in #40181 since there are test failures. |
Description
Updates all Gradle & Kotlin references to their latest versions.
We have seen significant build performance improvements after upgrading, with the requirement that all components, apps and packages need to stay in sync rgd. the gradle version.
The FlutterLogger class has been deactivated & removed from the build system as it was eating build errors. It didn't have any documentation or other references therefore I believe it was added to circumvent Gradle 4 log issues and thus now removed.
Also, updating the default gradle file templates results in a smoother developer experience: Currently, generating a flutter project results in Android Studio prompting for the gradle update. IMHO Flutter should stay in sync with mainline versions as closely as possible.
Related Issues
Can close #19719 after this is merged, old issue.
Checklist
///).flutter analyze --flutter-repo) does not report any problems on my PR.Breaking Change
Does your PR require Flutter developers to manually update their apps to accommodate your change?