-
Notifications
You must be signed in to change notification settings - Fork 28.7k
Migrate to Gradle 7.0.2 and AGP 7.0.0 #87761
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
@blasten |
@TahaTesser perfect timing. cc @CaseyHillers @godofredoc . Would it be possible to prioritize the work needed to get flutter_deps working on a PR like this? e.g. parse .ci.yaml in LUCI and set the JAVA_HOME & PATH based on the content of this file. |
I could send a PR that changes it so presubmit uses the latest presubmit dependencies from ci.yaml. However, it would temporarily break tip of tree until the luci config change has propagated into prod. @blasten what is the current process for updating deps like this? Is it expected to be a hard break? |
The only change required from the infra point of view is to update the version of the cipd dependency. @blasten are the new cipd packages ready? |
It's not a breaking change. This change primarily affects someone who creates a new app using |
Yes. However, @CaseyHillers mentioned that changes like this cannot be tested in the PR |
Actually took a look and it seems like the new versions are there. The only change needed is to set "version": "version:11" in all the places using openjdk e.g. https://github.com/flutter/flutter/blob/master/.ci.yaml#L102 here is an example: https://github.com/flutter/engine/blob/master/.ci.yaml#L25 |
@godofredoc I thought that changes aren't propagated automatically in the PR. Is that the case? PRs like this that also have dependencies on the environment cannot be landed easily unless everything is pushed atomically. |
Post-submit like device lab won't be tested but as long as presubmit ones + manual executions of 1 linux, 1 mac and 1 windows device lab tests are successful we can have high confidence the new jdk will work properly. |
I added some documentation in flutter/cocoon#1321 From an infra perspective, it's easier to support bring up builders intended to validate new versions like this. There's a few race conditions that require more extensive work to iron out to support this functionality in presubmit. |
@CaseyHillers, @godofredoc, @blasten |
The current solution is described in https://github.com/CaseyHillers/cocoon/blob/1f1fa81e2588904908d613111a9d72e784cc6e24/CI_YAML.md#upgrading-dependencies I wanted to try this by myself, and send a PR to see |
@TahaTesser I migrated the complex_layout tests to Gradle/AGP 7.0. You can see the PR here: #88540 Steps
|
@blasten Now only |
Several of the blocks in ci.yaml have to be json parseable, so |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@blasten |
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
@blasten |
@TahaTesser please fix the conflict, and I will merge once all checks are green. |
@TahaTesser I'm guessing bad merge due to the size of the diff? |
Closing this for a new PR, I will file in a day or two |
Fixes #87649
Pre-launch Checklist
///
).If you need help, consider asking for advice on the #hackers-new channel on Discord.