From bc422dfe6273493a1f6ce961c4c71e0768468270 Mon Sep 17 00:00:00 2001 From: Gray Mackall <34871572+gmackall@users.noreply.github.com> Date: Thu, 12 Sep 2024 14:10:49 -0700 Subject: [PATCH] Add a note about re generating Gradle lockfiles (flutter/engine#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 --- .../flutter/tools/cipd/android_embedding_bundle/README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/engine/src/flutter/tools/cipd/android_embedding_bundle/README.md b/engine/src/flutter/tools/cipd/android_embedding_bundle/README.md index 603a72b1a3..c249d590d4 100644 --- a/engine/src/flutter/tools/cipd/android_embedding_bundle/README.md +++ b/engine/src/flutter/tools/cipd/android_embedding_bundle/README.md @@ -34,3 +34,11 @@ below explain how to fetch the license information for the dependencies. new tag: `last_updated:"$version_tag"`. 1. Update the GN list `embedding_dependencies_jars` in `src/flutter/shell/platform/android/BUILD.gn`. + +## Updating Gradle Lockfiles in the Framework After Adding Dependencies +If you land a pr that changes the versions of the embedding dependencies, +or adds a new dependency and makes use of it, you will also need to +perform a manual roll of that change to the framework that re-generates +the Gradle lockfiles using the script at +`/dev/tools/bin/generate_gradle_lockfiles.dart` +(run with the `--no-gradle-generation` and `--no-exclusion` flags). \ No newline at end of file