Skip to content

Commit d49647d

Browse files
committed
Clean up build file.
1 parent bfd9f48 commit d49647d

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

smoke-tests/build.gradle

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,26 +37,21 @@ android {
3737
defaultConfig {
3838
minSdkVersion 16
3939
multiDexEnabled true
40-
// applicationId "com.google.firebase.testing.common"
4140
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
4241
}
4342

4443
flavorDimensions "systemUnderTest"
4544

4645
productFlavors {
4746
database {
48-
//applicationId "com.google.firebase.testing.database"
49-
// applicationId "com.google.firebase.testapps.database"
5047
dimension "systemUnderTest"
5148
}
5249

5350
firestore {
54-
// applicationId "com.google.firebase.testing.firestore"
5551
dimension "systemUnderTest"
5652
}
5753

5854
storage {
59-
// applicationId "com.google.firebase.testing.storage"
6055
dimension "systemUnderTest"
6156
}
6257
}
@@ -68,6 +63,10 @@ repositories {
6863
}
6964

7065
dependencies {
66+
// Generally, depencies need to be placed under the test variants, such as androidTestDatabase.
67+
// However, to ensure we don't have build conflicts and test errors, we also need to put the same
68+
// dependencies on the "app" variants.
69+
7170
// Common
7271
implementation "com.android.support.test:runner:1.0.2"
7372
implementation "com.google.android.gms:play-services-tasks:16.0.1"

0 commit comments

Comments
 (0)