-
Notifications
You must be signed in to change notification settings - Fork 3
/
dependencies.gradle
86 lines (83 loc) · 3.53 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
ext.versions = [
min_sdk : 21,
compile_sdk : 33,
publish_version : "1.0",
publish_version_code: 1,
package : "com.tuan88291.mvvmpattern",
kotlin_version : '1.7.20',
build : '7.4.0'
]
ext.arch = [
koin : '3.4.0',
room : '2.4.3',
lifecycler : '2.4.1',
appcompat : '1.5.1',
constraintlayout: '2.1.4',
material : '1.8.0',
ktx : '1.8.0',
binding_compiler: '3.5.0',
test : '1.5.2'
]
ext.lib = [
gson : '2.10.1',
utilcode : '1.31.1',
rxadapter : '1.0.0',
interceptor : '4.10.0',
retrofit : '2.9.0',
socket : '1.0.0',
rxandroid : '2.1.1',
rxjava : '2.2.12',
multidex : '2.0.1',
extensions : '1.1.1',
sdp : '1.0.6',
recycler_view: '1.2.1'
]
ext.deps = [
gradle_plugins: [
android: "com.android.tools.build:gradle:$versions.build",
kotlin: "org.jetbrains.kotlin:kotlin-gradle-plugin:$versions.kotlin_version"
],
di: [
koin: "io.insert-koin:koin-android:$arch.koin"
],
resful: [
gson: "com.google.code.gson:gson:$lib.gson",
logd: "com.blankj:utilcodex:$lib.utilcode",
retrofit2: "com.squareup.retrofit2:retrofit:$lib.retrofit",
rx_retrofit: "com.jakewharton.retrofit:retrofit2-rxjava2-adapter:$lib.rxadapter",
converter: "com.squareup.retrofit2:converter-gson:$lib.retrofit",
logging: "com.squareup.okhttp3:logging-interceptor:$lib.interceptor",
socket: "io.socket:socket.io-client:$lib.socket"
],
perfomance: [
rxandroid: "io.reactivex.rxjava2:rxandroid:$lib.rxandroid",
rxjava: "io.reactivex.rxjava2:rxjava:$lib.rxjava",
multidex: "androidx.multidex:multidex:$lib.multidex",
],
lifecycler: [
java8: "androidx.lifecycle:lifecycle-common-java8:$arch.lifecycler",
viewmodel: "androidx.lifecycle:lifecycle-viewmodel:$arch.lifecycler",
viewmodelktx: "androidx.lifecycle:lifecycle-viewmodel-ktx:$arch.lifecycler",
extension: "android.arch.lifecycle:extensions:$lib.extensions",
],
db: [
test: "androidx.room:room-testing:$arch.room",
compiler: "androidx.room:room-compiler:$arch.room",
runtime: "androidx.room:room-runtime:$arch.room",
],
support: [
app_compat: "androidx.appcompat:appcompat:$arch.appcompat",
constraint_layout: "androidx.constraintlayout:constraintlayout:$arch.constraintlayout",
material: "com.google.android.material:material:$arch.material",
core: "androidx.core:core-ktx:$arch.ktx",
kotlin: "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$versions.kotlin_version",
databinding: "com.android.databinding:compiler:$arch.binding_compiler",
sdp: "com.intuit.sdp:sdp-android:$lib.sdp",
recycler_view: "androidx.recyclerview:recyclerview:$lib.recycler_view",
],
test: [
runner: "androidx.test:runner:$arch.test",
core: "androidx.test.espresso:espresso-core:3.3.0-alpha02",
junit: "junit:junit:4.12",
]
]