File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -37,26 +37,21 @@ android {
37
37
defaultConfig {
38
38
minSdkVersion 16
39
39
multiDexEnabled true
40
- // applicationId "com.google.firebase.testing.common"
41
40
testInstrumentationRunner " android.support.test.runner.AndroidJUnitRunner"
42
41
}
43
42
44
43
flavorDimensions " systemUnderTest"
45
44
46
45
productFlavors {
47
46
database {
48
- // applicationId "com.google.firebase.testing.database"
49
- // applicationId "com.google.firebase.testapps.database"
50
47
dimension " systemUnderTest"
51
48
}
52
49
53
50
firestore {
54
- // applicationId "com.google.firebase.testing.firestore"
55
51
dimension " systemUnderTest"
56
52
}
57
53
58
54
storage {
59
- // applicationId "com.google.firebase.testing.storage"
60
55
dimension " systemUnderTest"
61
56
}
62
57
}
@@ -68,6 +63,10 @@ repositories {
68
63
}
69
64
70
65
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
+
71
70
// Common
72
71
implementation " com.android.support.test:runner:1.0.2"
73
72
implementation " com.google.android.gms:play-services-tasks:16.0.1"
You can’t perform that action at this time.
0 commit comments