Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit c8fc350

Browse files
authored
Add a note about re generating Gradle lockfiles (#55150)
Adds a note that Gradle lockfile generation is necessary when updating the android embedding dependencies bundle. [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
1 parent 8609af6 commit c8fc350

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tools/cipd/android_embedding_bundle/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,11 @@ below explain how to fetch the license information for the dependencies.
3434
new tag: `last_updated:"$version_tag"`.
3535
1. Update the GN list `embedding_dependencies_jars` in
3636
`src/flutter/shell/platform/android/BUILD.gn`.
37+
38+
## Updating Gradle Lockfiles in the Framework After Adding Dependencies
39+
If you land a pr that changes the versions of the embedding dependencies,
40+
or adds a new dependency and makes use of it, you will also need to
41+
perform a manual roll of that change to the framework that re-generates
42+
the Gradle lockfiles using the script at
43+
`<framework_repo>/dev/tools/bin/generate_gradle_lockfiles.dart`
44+
(run with the `--no-gradle-generation` and `--no-exclusion` flags).

0 commit comments

Comments
 (0)