From c58f5f56b1978e581e9bec341dc0a8c6467dd1c6 Mon Sep 17 00:00:00 2001 From: Emmanuel Garcia Date: Mon, 10 Jan 2022 11:26:52 -0800 Subject: [PATCH] add missing dependencies to the background image test --- .../android/app/build.gradle | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/testing/android_background_image/android/app/build.gradle b/testing/android_background_image/android/app/build.gradle index 68a3b1dd1fae1..ff4e84a6e1f73 100644 --- a/testing/android_background_image/android/app/build.gradle +++ b/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" + } }