forked from nickbutcher/plaid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
test_dependencies.gradle
54 lines (50 loc) · 3.17 KB
/
test_dependencies.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
/*
* Copyright 2018 Google LLC.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
dependencies {
testImplementation project(':test_shared')
testImplementation "androidx.arch.core:core-testing:${versions.androidxArch}"
testImplementation "com.nhaarman.mockitokotlin2:mockito-kotlin:${versions.mockito_kotlin}"
testImplementation "com.squareup.retrofit2:retrofit-mock:${versions.retrofit}"
testImplementation "junit:junit:${versions.junit}"
testImplementation "org.mockito:mockito-core:${versions.mockito}"
testImplementation "org.jetbrains.kotlinx:kotlinx-coroutines-test:${versions.coroutines}"
// Work around issue with runtime classpath version conflict
implementation "androidx.arch.core:core-runtime:${versions.androidxCoreRuntime}"
implementation "androidx.collection:collection:${versions.androidxCollection}"
implementation "androidx.legacy:legacy-support-core-utils:${versions.legacyCoreUtils}"
implementation "androidx.lifecycle:lifecycle-runtime:${versions.lifecycle}"
// Workaround for dependency conflict during assembleAndroidTest
androidTestImplementation("androidx.arch.core:core-runtime:2.0.1-alpha01")
// Work around issue with runtime classpath version conflict
androidTestImplementation "androidx.arch.core:core-testing:${versions.androidxArch}"
androidTestImplementation "androidx.legacy:legacy-support-core-utils:${versions.legacyCoreUtils}"
androidTestImplementation "androidx.lifecycle:lifecycle-runtime:${versions.lifecycle}"
androidTestImplementation project(':test_shared')
androidTestImplementation "androidx.arch.core:core-testing:${versions.androidxArch}"
androidTestImplementation "androidx.test.espresso:espresso-contrib:${versions.espresso}"
androidTestImplementation "androidx.test.espresso:espresso-core:${versions.espresso}"
androidTestImplementation "androidx.test.ext:junit:${versions.extJunit}"
androidTestImplementation "androidx.test:rules:${versions.test_rules}"
androidTestImplementation "androidx.test:runner:${versions.test_runner}"
androidTestImplementation "androidx.test.uiautomator:uiautomator:${versions.ui_automator}"
androidTestImplementation "com.nhaarman.mockitokotlin2:mockito-kotlin:${versions.mockito_kotlin}"
androidTestImplementation "com.squareup.retrofit2:retrofit-mock:${versions.retrofit}"
androidTestImplementation "org.mockito:mockito-android:${versions.mockito}"
androidTestImplementation "org.mockito:mockito-core:${versions.mockito}"
// Adding this to bring "google_play_services_version" into the test project
// without this, it fails on AGP 3.6.x.
androidTestImplementation "com.google.android.gms:play-services-gcm:16.0.0"
}