-
Notifications
You must be signed in to change notification settings - Fork 2
/
config.gradle
101 lines (92 loc) · 6.6 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
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
ext {
android = [
compileSdkVersion: 28,
buildToolsVersion: "28.0.3",
minSdkVersion : 17,
targetSdkVersion : 28,
versionCode : 10100,
versionName : "1.1.0"
]
version = [
androidSupportSdkVersion : "1.0.0",
okhttpSdkVersion : "3.10.0",
retrofitSdkVersion : "2.4.0",
dagger2SdkVersion : "2.15",
glideSdkVersion : "4.9.0",
butterknifeSdkVersion : "10.1.0",
rxjavaSdkVersion : "2.2.10",
rxandroidSdkVersion : "2.1.1",
rxcacheSdkVersion : "1.8.3-2.x",
rxpermissionsSdkVersion : "0.10.2",
rxerrorhandlerSdkVersion : "2.1.1",
rxlifecycleSdkVersion : "1.0",
rxlifecycle3SdkVersion : "3.0.0",
espressoSdkVersion : "3.0.1",
canarySdkVersion : "1.5.4",
androideventbusSdkVersion: "1.0.5.1",
loggerSdkVersion : "2.2.0",
gsonSdkVersion : "2.8.2"
]
dependencies = [
//support
"appcompat-v7" : "androidx.appcompat:appcompat:${version["androidSupportSdkVersion"]}",
"design" : "com.google.android.material:material:${version["androidSupportSdkVersion"]}",
"support-v4" : "androidx.legacy:legacy-support-v4:${version["androidSupportSdkVersion"]}",
"cardview-v7" : "androidx.cardview:cardview:${version["androidSupportSdkVersion"]}",
"annotations" : "androidx.annotation:annotation:${version["androidSupportSdkVersion"]}",
"recyclerview-v7" : "androidx.recyclerview:recyclerview:${version["androidSupportSdkVersion"]}",
//network
"retrofit" : "com.squareup.retrofit2:retrofit:${version["retrofitSdkVersion"]}",
"retrofit-converter-gson" : "com.squareup.retrofit2:converter-gson:${version["retrofitSdkVersion"]}",
"retrofit-adapter-rxjava2" : "com.squareup.retrofit2:adapter-rxjava2:${version["retrofitSdkVersion"]}",
"okhttp3" : "com.squareup.okhttp3:okhttp:${version["okhttpSdkVersion"]}",
"glide" : "com.github.bumptech.glide:glide:${version["glideSdkVersion"]}",
"glide-compiler" : "com.github.bumptech.glide:compiler:${version["glideSdkVersion"]}",
"glide-loader-okhttp3" : "com.github.bumptech.glide:okhttp3-integration:${version["glideSdkVersion"]}",
"glide-transformations" : "jp.wasabeef:glide-transformations:4.0.1",
"stetho" : "com.facebook.stetho:stetho:1.4.2",
"stetho-okhttp3" : "com.facebook.stetho:stetho-okhttp3:1.4.2",
//view
"autolayout" : "com.zhy:autolayout:1.4.5",
"butterknife" : "com.jakewharton:butterknife:${version["butterknifeSdkVersion"]}",
"butterknife-compiler" : "com.jakewharton:butterknife-compiler:${version["butterknifeSdkVersion"]}",
"RecyclerViewAdapterHelper": "com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.47-androidx",
"SmartRefreshLayout" : "com.scwang.smartrefresh:SmartRefreshLayout:1.1.0-andx-14",
"pickerview" : "com.contrarywind:Android-PickerView:3.2.5",
"photoview" : "com.github.chrisbanes.photoview:library:1.2.3",
"numberprogressbar" : "com.daimajia.numberprogressbar:library:1.2@aar",
"nineoldandroids" : "com.nineoldandroids:library:2.4.0",
"paginate" : "com.github.markomilos:paginate:0.5.1",
"vlayout" : "com.alibaba.android:vlayout:1.1.0@aar",
"constraint-layout" : 'androidx.constraintlayout:constraintlayout:1.1.3',
//rx2
"rxandroid2" : "io.reactivex.rxjava2:rxandroid:${version["rxandroidSdkVersion"]}",
"rxjava2" : "io.reactivex.rxjava2:rxjava:${version["rxjavaSdkVersion"]}",
"rxlifecycle3" : "com.trello.rxlifecycle3:rxlifecycle:${version["rxlifecycle3SdkVersion"]}",
"rxlifecycle3-android" : "com.trello.rxlifecycle3:rxlifecycle-android:${version["rxlifecycle3SdkVersion"]}",
"rxlifecycle3-components" : "com.trello.rxlifecycle3:rxlifecycle-components:${version["rxlifecycle3SdkVersion"]}",
"rxcache2" : "com.github.VictorAlbertos.RxCache:runtime:${version["rxcacheSdkVersion"]}",
"rxcache-jolyglot-gson" : "com.github.VictorAlbertos.Jolyglot:gson:0.0.4",
"rxpermissions2" : "com.github.tbruyelle:rxpermissions:${version["rxpermissionsSdkVersion"]}",
"rxerrorhandler2" : "me.jessyan:rxerrorhandler:${version["rxerrorhandlerSdkVersion"]}",
//tools
"dagger2" : "com.google.dagger:dagger:${version["dagger2SdkVersion"]}",
"dagger2-android" : "com.google.dagger:dagger-android:${version["dagger2SdkVersion"]}",
"dagger2-android-support" : "com.google.dagger:dagger-android-support:${version["dagger2SdkVersion"]}",
"dagger2-compiler" : "com.google.dagger:dagger-compiler:${version["dagger2SdkVersion"]}",
"dagger2-android-processor": "com.google.dagger:dagger-android-processor:${version["dagger2SdkVersion"]}",
"androideventbus" : "org.simple:androideventbus:1.0.5.1",
"gson" : "com.google.code.gson:gson:2.8.2",
"multidex" : "com.android.support:multidex:1.0.1",
"javax.annotation" : "javax.annotation:jsr250-api:1.0",
"progressmanager" : "me.jessyan:progressmanager:1.5.0",
"retrofit-url-manager" : "me.jessyan:retrofit-url-manager:1.2.5",
"lifecyclemodel" : "me.jessyan:lifecyclemodel:1.0.1",
"timber" : "com.jakewharton.timber:timber:4.7.0",
"logger" : "com.orhanobut:logger:2.2.0",
"canary-debug" : "com.squareup.leakcanary:leakcanary-android:${version["canarySdkVersion"]}",
"canary-release" : "com.squareup.leakcanary:leakcanary-android-no-op:${version["canarySdkVersion"]}",
"umeng-analytics" : "com.umeng.analytics:analytics:6.0.1",
"utilcode" : "com.blankj:utilcodex:1.25.5"
]
}