Skip to content

Commit 1e29f62

Browse files
Emmanuel GarciaJsouLiang
authored andcommitted
Add missing dependencies to the background image app (flutter#30769)
1 parent 28726a9 commit 1e29f62

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

testing/android_background_image/android/app/build.gradle

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,17 @@ android {
4545
}
4646

4747
dependencies {
48+
// Please *don't* add embedding dependencies to this file.
49+
// The embedding dependencies are configured in tools/androidx/files.json.
50+
// Only add test dependencies.
51+
4852
implementation files(project.property('flutter_jar'))
49-
implementation 'androidx.appcompat:appcompat:1.1.0'
50-
implementation 'androidx.lifecycle:lifecycle-common-java8:2.2.0-alpha01'
51-
implementation 'androidx.tracing:tracing:1.0.0'
53+
}
54+
55+
// Configure the embedding dependencies.
56+
apply from: new File(rootDir, '../../../tools/androidx/configure.gradle').absolutePath;
57+
configureDependencies(new File(rootDir, '../../..')) { dependency ->
58+
dependencies {
59+
implementation "$dependency"
60+
}
5261
}

0 commit comments

Comments
 (0)