-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathcommon_dependencies.gradle
executable file
·34 lines (34 loc) · 1.78 KB
/
common_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
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation "androidx.recyclerview:recyclerview:$rootProject.androixVersion"
implementation 'androidx.cardview:cardview:1.0.0'
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
implementation 'com.google.android.material:material:1.4.0'
// support
/* implementation "com.android.support:appcompat-v7:$rootProject.supportLibraryVersion"
implementation "com.android.support:support-v4:$rootProject.supportLibraryVersion"
implementation "com.android.support:recyclerview-v7:$rootProject.supportLibraryVersion"
implementation "com.android.support:cardview-v7:$rootProject.supportLibraryVersion"*/
// JUnit
testImplementation "junit:junit:$rootProject.junitVersion"
// Robolectric
testImplementation "org.robolectric:robolectric:$rootProject.robolectricVersion"
// Mockito
testImplementation "org.mockito:mockito-core:$rootProject.mockitoVersion"
// unit
testImplementation "junit:junit:$rootProject.junitVersion"
// android test
androidTestImplementation("com.android.support.test.espresso:espresso-core:$rootProject.espressoVersion", {
exclude group: 'com.android.support', module: 'support-annotations'
})
androidTestImplementation("com.android.support.test.espresso:espresso-idling-resource:$rootProject.espressoVersion") {
exclude module: 'support-annotations'
}
androidTestImplementation("com.android.support.test:runner:$rootProject.runnerVersion") {
exclude module: 'support-annotations'
}
androidTestImplementation("com.android.support.test:rules:$rootProject.runnerVersion") {
exclude module: 'support-annotations'
}
androidTestImplementation "junit:junit:$rootProject.junitVersion"
}