From 42bdee95898fe238e0f641d27846328154516342 Mon Sep 17 00:00:00 2001 From: Gray Mackall <34871572+gmackall@users.noreply.github.com> Date: Tue, 13 Feb 2024 17:12:07 -0800 Subject: [PATCH] Make Android Studio depend on the android_embedding_dependencies (flutter/engine#50612) Aligns our (Android Studio) IDE support with the actual dependencies that get resolved by our build process, by depending on the androidx jars directly. Follow up to [discord discussion](https://discord.com/channels/608014603317936148/1204566292346961950/1204594136343248946). [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style --- engine/src/flutter/shell/platform/android/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/flutter/shell/platform/android/build.gradle b/engine/src/flutter/shell/platform/android/build.gradle index bb21f9b01b..fe7fa18b11 100644 --- a/engine/src/flutter/shell/platform/android/build.gradle +++ b/engine/src/flutter/shell/platform/android/build.gradle @@ -32,5 +32,5 @@ android { } dependencies { - implementation 'androidx.annotation:annotation-jvm:1.7.1' + implementation fileTree(include: ["*.jar"], dir: "../../../../third_party/android_embedding_dependencies/lib/") }