-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathconfig.gradle
64 lines (58 loc) · 3.38 KB
/
config.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
allprojects {
repositories {
maven { url "https://jitpack.io" }
}
}
ext {
android = [
'compileSdkVersion': 34,
'buildToolsVersion': '34.0.0',
'minSdkVersion' : 21,
'targetSdkVersion' : 34
]
versions = [
'lifecycle_version' : '2.8.6',
'retrofit_version' : '2.11.0',
'okhttp3_version' : '4.12.0',
'moshi_version' : '1.15.1',
'koin_version' : '4.0.0',
'glide_version' : '4.16.0',
'coroutines_version' : '1.9.0',
'mmkv_version' : '1.3.9',
'fragmentation_version': '1.8.4',
'brv_version' : '1.6.0',
'leakcanary_version' : '2.12',
'autosize_version' : '1.2.1',
]
deps = [
'lifecycle' : [
'lifecycle_runtime_ktx' : "androidx.lifecycle:lifecycle-runtime-ktx:${versions.lifecycle_version}",
'lifecycle_viewmodel_ktx': "androidx.lifecycle:lifecycle-viewmodel-ktx:${versions.lifecycle_version}",
'lifecycle_common_java8' : "androidx.lifecycle:lifecycle-common-java8:${versions.lifecycle_version}",
'lifecycle_livedata_ktx' : "androidx.lifecycle:lifecycle-livedata-ktx:${versions.lifecycle_version}"
],
'http' : [
'retrofit' : "com.squareup.retrofit2:retrofit:${versions.retrofit_version}",
'converter_moshi' : "com.squareup.retrofit2:converter-moshi:${versions.retrofit_version}",
'converter_simplexml' : "com.squareup.retrofit2:converter-simplexml:${versions.retrofit_version}",
'okhttp3_logging_interceptor': "com.squareup.okhttp3:logging-interceptor:${versions.okhttp3_version}"
],
'moshi' : [
'moshi_kotlin' : "com.squareup.moshi:moshi-kotlin:${versions.moshi_version}",
'moshi_kotlin_codegen': "com.squareup.moshi:moshi-kotlin-codegen:${versions.moshi_version}",
],
'koin' : "io.insert-koin:koin-android:${versions.koin_version}",
'glide' : "com.github.bumptech.glide:glide:${versions.glide_version}",
'glide_compiler' : "com.github.bumptech.glide:compiler:${versions.glide_version}",
'coroutines' : "org.jetbrains.kotlinx:kotlinx-coroutines-android:${versions.coroutines_version}",
'mmkv' : "com.tencent:mmkv-static:${versions.mmkv_version}",
'fragmentation' : "com.github.weikaiyun.SFragmentation:fragmentation:${versions.fragmentation_version}",
'brv' : "com.github.liangjingkanji:BRV:${versions.brv_version}",
'leakcanary' : "com.squareup.leakcanary:leakcanary-android:${versions.leakcanary_version}",
'autosize' : "me.jessyan:autosize:${versions.autosize_version}",
'toasty' : 'com.github.GrenderG:Toasty:1.5.2',
'loadingDialog' : 'com.github.shenbengit:LoadingDialog:1.0.6',
'glide_transformations': 'jp.wasabeef:glide-transformations:4.3.0',
'xcrash' : 'com.iqiyi.xcrash:xcrash-android-lib:3.0.0',
]
}