From 73aac59a408d0969ce0ae3ce3aac2f6f91c55be5 Mon Sep 17 00:00:00 2001 From: Emmanuel Garcia Date: Mon, 10 Jan 2022 12:30:09 -0800 Subject: [PATCH] Add missing dependencies to the background image app (flutter/engine#30769) --- .../android/app/build.gradle | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/engine/src/flutter/testing/android_background_image/android/app/build.gradle b/engine/src/flutter/testing/android_background_image/android/app/build.gradle index 68a3b1dd1fa..ff4e84a6e1f 100644 --- a/engine/src/flutter/testing/android_background_image/android/app/build.gradle +++ b/engine/src/flutter/testing/android_background_image/android/app/build.gradle @@ -45,8 +45,17 @@ android { } dependencies { + // Please *don't* add embedding dependencies to this file. + // The embedding dependencies are configured in tools/androidx/files.json. + // Only add test dependencies. + implementation files(project.property('flutter_jar')) - implementation 'androidx.appcompat:appcompat:1.1.0' - implementation 'androidx.lifecycle:lifecycle-common-java8:2.2.0-alpha01' - implementation 'androidx.tracing:tracing:1.0.0' +} + +// Configure the embedding dependencies. +apply from: new File(rootDir, '../../../tools/androidx/configure.gradle').absolutePath; +configureDependencies(new File(rootDir, '../../..')) { dependency -> + dependencies { + implementation "$dependency" + } }