forked from hitenpannu/AndroidTask
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlibraries.gradle
52 lines (45 loc) · 2.13 KB
/
libraries.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
ext {
final def junitVersion = "4.12"
final def mockitoCoreVersion = "3.0.0"
final def retrofitVersion = "2.8.1"
final def retrofitLogInterceptor = '4.2.1'
final def daggerVersion = "2.26"
final def navVersion = "2.3.0-alpha05"
final def roomVersion = "2.2.5"
testDependencies = [
junit : "junit:junit:${junitVersion}",
junitExt : 'androidx.test.ext:junit:1.1.1',
mockitoCore: "org.mockito:mockito-core:${mockitoCoreVersion}",
espresso : 'androidx.test.espresso:espresso-core:3.2.0',
archTesting: "android.arch.core:core-testing:1.1.1"
]
networkDependencies = [
retrofit: "com.squareup.retrofit2:retrofit:${retrofitVersion}",
retrofitConverter : "com.squareup.retrofit2:converter-gson:${retrofitVersion}",
retrofiLoggingInterceptor: "com.squareup.okhttp3:logging-interceptor:${retrofitLogInterceptor}",
gson : "com.google.code.gson:gson:2.8.6"
]
androidx = [
appCompat: 'androidx.appcompat:appcompat:1.1.0',
coreKtx : 'androidx.core:core-ktx:1.2.0',
archCore: "androidx.arch.core:core-common:2.1.0",
lifeCycleExtention: 'android.arch.lifecycle:extensions:1.1.1',
recyclerView : "androidx.recyclerview:recyclerview:1.1.0",
material: "com.google.android.material:material:1.2.0-alpha06",
swipeRefreshLayout: "androidx.swiperefreshlayout:swiperefreshlayout:1.0.0"
]
nav = [
fragment:"androidx.navigation:navigation-fragment-ktx:${navVersion}",
ui:"androidx.navigation:navigation-ui-ktx:${navVersion}",
dynamicFeature:"androidx.navigation:navigation-dynamic-features-fragment:${navVersion}"
]
dagger = [
core : "com.google.dagger:dagger:${daggerVersion}",
processor: "com.google.dagger:dagger-compiler:${daggerVersion}"
]
room = [
core: "androidx.room:room-runtime:${roomVersion}",
annotationProcessor: "androidx.room:room-compiler:${roomVersion}",
ktx: "androidx.room:room-ktx:${roomVersion}"
]
}