-
Notifications
You must be signed in to change notification settings - Fork 13
/
common_dependencies.gradle
37 lines (30 loc) · 1.7 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
35
36
37
dependencies {
// Kotlin
implementation "org.jetbrains.kotlin:kotlin-stdlib:${versions.kotlin}"
// Coroutines
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:${versions.coroutines}"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:${versions.coroutines}"
// Dagger
implementation "com.google.dagger:dagger:${versions.dagger}"
// Lifecycle libraries - LiveData, ViewModel, ViewModel Saved State
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:${versions.lifecycle}"
implementation "androidx.lifecycle:lifecycle-livedata-ktx:${versions.lifecycle}"
implementation "androidx.lifecycle:lifecycle-runtime-ktx:${versions.lifecycle}"
implementation "androidx.lifecycle:lifecycle-common-java8:${versions.lifecycle}"
implementation "androidx.lifecycle:lifecycle-viewmodel-savedstate:${versions.lifecycle}"
// OkHTTP
implementation "com.squareup.okhttp3:okhttp:${versions.okhttp}"
implementation "com.squareup.okhttp3:logging-interceptor:${versions.okhttp}"
// Retrofit
implementation "com.squareup.retrofit2:retrofit:${versions.retrofit}"
implementation 'com.squareup.retrofit2:converter-moshi:2.9.0'
implementation "com.squareup.retrofit2:converter-gson:${versions.retrofit}"
implementation "com.squareup.retrofit2:adapter-rxjava2:${versions.retrofit}"
// Timber - Logging Library
implementation "com.jakewharton.timber:timber:${versions.timber}"
// Tests
testImplementation 'junit:junit:4.13.1'
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
androidTestImplementation 'androidx.test:rules:1.3.1-alpha02'
}