-
Notifications
You must be signed in to change notification settings - Fork 0
/
dependencies.gradle
100 lines (82 loc) · 3.91 KB
/
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
def coroutines = "1.3.9"
def JavaxInject = "1"
def Mockito = '2.22.0'
def Junit = '4.13'
def LifeCycle = '2.2.0'
def TestRule = '1.2.0'
def JunitExt = '1.1.1'
def Arch_version = '2.1.0'
def Retrofit = '2.9.0'
def Room = '2.2.5'
def Navigation = '2.3.0'
def Material = '1.2.1'
def Constraint = '2.0.2'
def Timber = '4.7.1'
def Dagger = '2.27'
def CoreVersion = '1.3.2'
def Espresso = '3.3.0'
def OkHttp = '4.5.0'
def Gson = '2.8.6'
def Preference = '1.1.1'
def AppCompact = '1.1.0'
def LeakCanary = '2.2'
def Jwt = '2.0.0'
def RxJava = '3.0.0'
ext.coreDeps = [
kotlin : "org.jetbrains.kotlin:kotlin-stdlib:${kotlin_version}",
core_ktx : "androidx.core:core-ktx:${CoreVersion}",
appCompact: "androidx.appcompat:appcompat:${AppCompact}"
]
ext.uiDeps = [
appCompact : "androidx.appcompat:appcompat:${AppCompact}",
material : "com.google.android.material:material:${Material}",
constraint : "androidx.constraintlayout:constraintlayout:${Constraint}",
nav_fragment: "androidx.navigation:navigation-fragment-ktx:${Navigation}",
nav_ktx : "androidx.navigation:navigation-ui-ktx:${Navigation}"
]
ext.deps = [
rxKotlin : "io.reactivex.rxjava3:rxkotlin:${RxJava}",
rxJava : "io.reactivex.rxjava3:rxjava:${RxJava}",
rxJavaAndroid : "io.reactivex.rxjava3:rxandroid:${RxJava}",
rxBridge : "com.github.akarnokd:rxjava3-bridge:${RxJava}",
coroutines_core : "org.jetbrains.kotlinx:kotlinx-coroutines-core:${coroutines}",
coroutines_android : "org.jetbrains.kotlinx:kotlinx-coroutines-android:${coroutines}",
javax : "javax.inject:javax.inject:$JavaxInject",
lifeCycleExt : "androidx.lifecycle:lifecycle-extensions:${LifeCycle}",
reactivestreams_ktx: "androidx.lifecycle:lifecycle-reactivestreams-ktx:${LifeCycle}",
retrofit : "com.squareup.retrofit2:retrofit:${Retrofit}",
gson_converter : "com.squareup.retrofit2:converter-gson:${Retrofit}",
okhttp : "com.squareup.okhttp3:okhttp:${OkHttp}",
okhttp_logger : "com.squareup.okhttp3:logging-interceptor:${OkHttp}",
gson : "com.google.code.gson:gson:${Gson}",
roomRuntime : "androidx.room:room-runtime:${Room}",
roomKtx : "androidx.room:room-ktx:${Room}",
rxJava_adapter : "com.squareup.retrofit2:adapter-rxjava3:${Retrofit}",
roomRxJava2 : "androidx.room:room-rxjava2:${Room}",
timber : "com.jakewharton.timber:timber:${Timber}",
dagger : "com.google.dagger:dagger:${Dagger}",
dagger_android : "com.google.dagger:dagger-android:${Dagger}",
dagger_support : "com.google.dagger:dagger-android-support:${Dagger}",
preference : "androidx.preference:preference-ktx:${Preference}",
leak_canary : "com.jakewharton.timber:timber:${LeakCanary}",
jwt : "com.auth0.android:jwtdecode:${Jwt}"
]
ext.kaptDeps = [
lifecyle_common_java8: "androidx.lifecycle:lifecycle-common-java8:${LifeCycle}",
roomComplier : "androidx.room:room-compiler:${Room}",
daggerProcessor : "com.google.dagger:dagger-android-processor:${Dagger}",
daggerComplier : "com.google.dagger:dagger-compiler:${Dagger}"
]
ext.testDeps = [
junit : "junit:junit:${Junit}",
mockito : "org.mockito:mockito-core:${Mockito}",
core_arch: "androidx.arch.core:core-testing:${Arch_version}",
]
ext.androidTestDeps = [
ext : "androidx.test.ext:junit:${JunitExt}",
test_runner: "androidx.test:runner:${TestRule}",
test_rule : "androidx.test:rules:1.1.1",
testCore : "androidx.test:core:1.2.0",
mockito : "org.mockito:mockito-android:3.2.0",
espresso : "androidx.test.espresso:espresso-core:${Espresso}"
]