-
Notifications
You must be signed in to change notification settings - Fork 0
/
dependencies.gradle
144 lines (116 loc) · 6.14 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
ext {
def AndroidxAppCompatVersion = '1.1.0'
def AndroidxCoreVersion = '1.1.0'
def KotlinVersion = '1.3.71'
def MulitDexVersion = "2.0.1"
def AndroidxConstraintLayoutVersion = '2.0.0-beta4'
def AndroidxSupportVersion = '1.0.0'
def AndroidxVectorDrawablesVersion = '1.0.1'
def AndroidxLifeCycleVersion = '2.0.0'
def TextDrawableVersion = '1.0.1'
def GoogleMaterialVersion = '1.0.0'
def AndroidxWorkMangerVersion = '2.3.0'
def AndroidxRoomVersion = '2.2.4'
def junit_platform_version = "1.3.1"
def junit_jupiter_version = "5.3.1"
def junit_vintage_version = "5.3.1"
def android_junit5_version = "1.4.2.1"
def LottieVersion = '3.4.0'
def room_version = "2.2.5"
def daggerVersion = '2.25.2'
def daggerAndroidVersion = '2.22.1'
kotlinDependencies = [
kotlin: "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${KotlinVersion}"
]
kotlin = kotlinDependencies.values()
multiDexDeps = [
multiDex: "androidx.multidex:multidex:$MulitDexVersion"
]
mulitDex = multiDexDeps.values()
androidxDependencies = [
androidxAppCompat : "androidx.appcompat:appcompat:${AndroidxAppCompatVersion}",
androidRVSelection : "androidx.recyclerview:recyclerview-selection:1.0.0",
androidxCore : "androidx.core:core-ktx:${AndroidxCoreVersion}",
androidxContraintLayout : "androidx.constraintlayout:constraintlayout:${AndroidxConstraintLayoutVersion}",
androidxSupport : "androidx.legacy:legacy-support-v4:${AndroidxSupportVersion}",
androidxVectorDrawables : "androidx.vectordrawable:vectordrawable:${AndroidxVectorDrawablesVersion}",
androidxLifecycle : "androidx.lifecycle:lifecycle-extensions:${AndroidxLifeCycleVersion}",
androidxLifecycleViewModel : "androidx.lifecycle:lifecycle-viewmodel-ktx:${AndroidxLifeCycleVersion}",
androidxNavigation : "androidx.navigation:navigation-fragment:${AndroidxLifeCycleVersion}",
androidxNavigationUI : "androidx.navigation:navigation-ui:${AndroidxLifeCycleVersion}",
androidxNavigationKtx : "androidx.navigation:navigation-fragment-ktx:${AndroidxLifeCycleVersion}",
androidxNavigationUIKtx : "androidx.navigation:navigation-ui-ktx:${AndroidxLifeCycleVersion}",
androidxLifecycleExtensions: "androidx.lifecycle:lifecycle-extensions:${AndroidxLifeCycleVersion}",
androidxRoomRuntime : "androidx.room:room-runtime:${room_version}",
androidxRoomRxJava : "androidx.room:room-rxjava2:${room_version}",
viewpager2 : "androidx.viewpager2:viewpager2:1.0.0"
]
androidX = androidxDependencies.values()
workManagerDependencies = [
androidxWorkManagerKtx: "androidx.work:work-runtime-ktx:2.3.4",
androidxWorkManagerRx : "androidx.work:work-rxjava2:2.3.4"
]
workManager = workManagerDependencies.values()
googleDependencies = [
googleMaterial: "com.google.android.material:material:${GoogleMaterialVersion}"
]
google = googleDependencies.values()
daggerDeps = [
dagger : "com.google.dagger:dagger:${daggerVersion}",
dagger_android : "com.google.dagger:dagger-android:${daggerAndroidVersion}",
dagger_android_support: "com.google.dagger:dagger-android-support:${daggerAndroidVersion}",
]
dagger = daggerDeps.values()
compilersDeps = [
dagger_compiler : "com.google.dagger:dagger-compiler:${daggerVersion}",
dagger_android_processor: "com.google.dagger:dagger-android-processor:${daggerAndroidVersion}",
room : "androidx.room:room-compiler:${AndroidxRoomVersion}",
lifecycle : "androidx.lifecycle:lifecycle-compiler:2.2.0",
]
compilers = compilersDeps.values()
testingDeps = [
coreTesting : "androidx.arch.core:core-testing:2.1.0",
junit : "junit:junit:4.12",
junit5Mocktio : "org.mockito:mockito-junit-jupiter:2.17.0",
junitRunner : "org.junit.platform:junit-platform-runner:1.4.0",
mockitoCore : "org.mockito:mockito-core:2.25.0",
junit_jupiter_api : "org.junit.jupiter:junit-jupiter-api:5.2.0",
junit_jupiter_params: "org.junit.jupiter:junit-jupiter-params:5.2.0",
junit_jupiter_engine: "org.junit.jupiter:junit-jupiter-engine:5.2.0",
mockitoAndroid : "org.mockito:mockito-android:2.25.0",
]
testing = testingDeps.values()
rxDeps = [
rxjava2 : "io.reactivex.rxjava2:rxjava:2.1.12",
rxandroid2: "io.reactivex.rxjava2:rxandroid:2.0.2",
rxKotlin : "io.reactivex.rxjava2:rxkotlin:2.2.0",
]
rx = rxDeps.values()
logging = [
logger: 'com.orhanobut:logger:2.2.0',
timber: 'com.jakewharton.timber:timber:4.7.1'
]
loggingLibs = logging.values()
uiDeps = [
rxBinding: 'com.jakewharton.rxbinding2:rxbinding:2.2.0'
]
ui = uiDeps.values()
timeUtilsDeps = [
timeAgo: "com.github.perfomer:blitz:1.0.9",
lottie : "com.airbnb.android:lottie:${LottieVersion}"
]
time = timeUtilsDeps.values()
testingDeps = [
coreTesting : "androidx.arch.core:core-testing:2.1.0",
junit : "junit:junit:4.12",
junit5Mocktio : "org.mockito:mockito-junit-jupiter:2.17.0",
junitRunner : "org.junit.platform:junit-platform-runner:1.4.0",
mockitoCore : "org.mockito:mockito-core:2.25.0",
mockitoKotlin : "com.nhaarman:mockito-kotlin:1.6.0",
junit_jupiter_api : "org.junit.jupiter:junit-jupiter-api:5.2.0",
junit_jupiter_params: "org.junit.jupiter:junit-jupiter-params:5.2.0",
junit_jupiter_engine: "org.junit.jupiter:junit-jupiter-engine:5.2.0",
mockitoAndroid : "org.mockito:mockito-android:2.25.0",
]
testing = testingDeps.values()
}