Skip to content

Relands: Migrate template to Gradle 6.7 and AGP 4.1.0#71446

Merged
blasten merged 6 commits intoflutter:masterfrom
blasten:reland_gradle_bump
Dec 2, 2020
Merged

Relands: Migrate template to Gradle 6.7 and AGP 4.1.0#71446
blasten merged 6 commits intoflutter:masterfrom
blasten:reland_gradle_bump

Conversation

@blasten
Copy link

@blasten blasten commented Nov 30, 2020

Description

Related Issues

Fixes #58247
Fixes #49438

Tests

Unit tests

Checklist

Before you create this PR, confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I signed the CLA.
  • I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I updated/added relevant documentation (doc comments with ///).
  • All existing and new tests are passing.
  • The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
  • I am willing to follow-up on review comments in a timely manner.

Breaking Change

Did any tests fail when you ran them? Please read Handling breaking changes.

@flutter-dashboard flutter-dashboard bot added a: accessibility Accessibility, e.g. VoiceOver or TalkBack. (aka a11y) d: examples Sample code and demos c: contributor-productivity Team-specific productivity, code health, technical debt. tool Affects the "flutter" command-line tool. See also t: labels. labels Nov 30, 2020
@google-cla google-cla bot added the cla: yes label Nov 30, 2020
@blasten blasten changed the title Reland gradle bump Relands: Migrate template to Gradle 6.7 and AGP 4.1.0 Nov 30, 2020
@blasten blasten requested review from amirh and xster November 30, 2020 23:31
@amirh
Copy link
Contributor

amirh commented Dec 1, 2020

LGTM for the reland after the change in https://github.com/flutter/plugin_tools/pull/123 is published

globals.printStatus(
'The built failed likely due to AndroidX incompatibilities in a plugin. '
'The build failed likely due to AndroidX incompatibilities in a plugin. '
'The tool is about to try using Jetfier to solve the incompatibility.'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
'The tool is about to try using Jetfier to solve the incompatibility.'
'The tool is about to try using Jetifier to solve the incompatibility.'

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch

@westy92
Copy link
Contributor

westy92 commented Dec 1, 2020

I'm happy to see this coming through! 🎉
FYI AGP 4.1.1 and Gradle 6.7.1 are the latest versions.

@blasten
Copy link
Author

blasten commented Dec 1, 2020

@westy92 we don't necessarily target the latest version since it gets obsolete whenever a new version is released. We also don't bump the Gradle version used in Flutter to match the latest one published by Gradle or Android Gradle plugin. However, we do our best to stay up to date, and ensure backward compatibility.

@fluttergithubbot
Copy link
Contributor

This pull request is not suitable for automatic merging in its current state.

  • Please get at least one approved review before re-applying this label. Reviewers: If you left a comment approving, please use the "approve" review action instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

a: accessibility Accessibility, e.g. VoiceOver or TalkBack. (aka a11y) c: contributor-productivity Team-specific productivity, code health, technical debt. d: examples Sample code and demos tool Affects the "flutter" command-line tool. See also t: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

flutter build apk fails on an app using Android Gradle plugin 4.0 Upgrade the Gradle version in the project template

4 participants