-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.gradle
115 lines (108 loc) · 7.28 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
ext {
android = [
compileSdkVersion: 29,
buildToolsVersion: "29.0.0",
minSdkVersion : 19,
targetSdkVersion : 28,
versionCode : 1,
versionName : "1.0.0"
]
androidxVersion = [
appcompat : "1.1.0",
recycleviewVersion: "1.0.0",
annotations : "1.1.0"
]
version = [
androidSupportSdkVersion: "29.0.0",
retrofitSdkVersion : "2.4.0",
dagger2SdkVersion : "2.19",
glideSdkVersion : "4.11.0",
fragmentationVersion : "1.0.6",
butterknifeSdkVersion : "10.0.0",
rxlifecycleSdkVersion : "1.0",
rxlifecycle2SdkVersion : "2.2.2",
espressoSdkVersion : "3.0.1",
canarySdkVersion : "1.5.4",
arouterSDk : "1.4.1",
arouterCompilerSdk : "1.2.2"
]
dependencies = [
//support
"design" : "com.android.support:design:${version["androidSupportSdkVersion"]}",
"appcompat" : "androidx.appcompat:appcompat:${androidxVersion["appcompat"]}",
//network
"retrofit" : "com.squareup.retrofit2:retrofit:${version["retrofitSdkVersion"]}",
"retrofit-converter-gson" : "com.squareup.retrofit2:converter-gson:${version["retrofitSdkVersion"]}",
"retrofit-adapter-rxjava" : "com.squareup.retrofit2:adapter-rxjava:${version["retrofitSdkVersion"]}",
"retrofit-adapter-rxjava2" : "com.squareup.retrofit2:adapter-rxjava2:${version["retrofitSdkVersion"]}",
"okhttp3" : "com.squareup.okhttp3:okhttp:4.9.3",
"okhttp-urlconnection" : "com.squareup.okhttp:okhttp-urlconnection:2.0.0",
"glide" : "com.github.bumptech.glide:glide:${version["glideSdkVersion"]}",
"glide-compiler" : "com.github.bumptech.glide:compiler:${version["glideSdkVersion"]}",
"glide-annotations" : "com.android.support:support-annotations:28.0.0",
"utilcode" : "com.blankj:utilcodex:1.31.1",
//view
"autolayout" : "com.zhy:autolayout:1.4.5",
"butterknife" : "com.jakewharton:butterknife:${version["butterknifeSdkVersion"]}",
"butterknife-compiler" : "com.jakewharton:butterknife-compiler:${version["butterknifeSdkVersion"]}",
"recyclerview" : "androidx.recyclerview:recyclerview:${androidxVersion["recycleviewVersion"]}",
"constraint-layout" : "androidx.constraintlayout:constraintlayout:1.1.3",
"qmui" : "com.qmuiteam:qmui:2.0.0-alpha10",
"qmuiteam-arch" : "com.qmuiteam:arch:2.0.0-alpha10",
"bottomnavigationviewex" : "com.github.ittianyu:BottomNavigationViewEx:2.0.2",
"banner" : "com.youth.banner:banner:1.4.9",
"sneaker" : "com.irozon.sneaker:sneaker:2.0.0",
"image-picker" : "com.cysion:ImagePicker:1.0.7.x",
"ninegridview" : "com.lzy.widget:ninegridview:0.2.0",
"pick-view" : "com.contrarywind:Android-PickerView:4.1.8",
"dialogs-plus" : "com.orhanobut:dialogplus:1.11@aar",
"flow_layou" : "com.hyman:flowlayout-lib:1.1.2",
switchbutton : "com.kyleduo.switchbutton:library:2.0.0",
//material-dialog
"material-dialogs" : "com.afollestad.material-dialogs:core:3.1.0",
//material-dialog-bottom
"bottom-dialogs" : "com.afollestad.material-dialogs:bottomsheets:3.1.0",
//购物车加减
"cart-add-subtract" : "com.github.open-android:ShoppingCartAddSubtract:0.1.0",
//rx1
"rxandroid" : "io.reactivex:rxandroid:1.2.1",
"rxjava" : "io.reactivex:rxjava:1.3.0",
"rxlifecycle" : "com.trello:rxlifecycle:${version["rxlifecycleSdkVersion"]}",
"rxlifecycle-components" : "com.trello:rxlifecycle-components:${version["rxlifecycleSdkVersion"]}",
"rxcache" : "com.github.VictorAlbertos.RxCache:runtime:1.7.0-1.x",
"rxcache-jolyglot-gson" : "com.github.VictorAlbertos.Jolyglot:gson:0.0.4",
"rxpermissions" : "com.tbruyelle.rxpermissions:rxpermissions:0.9.4@aar",
//fragment
"fragmentation" : "me.xuexuan:fragmentationx:${version["fragmentationVersion"]}",
"fragmentation-code" : "me.xuexuan:fragmentationx-core:${version["fragmentationVersion"]}",
"fragmentation-swipeback" : "me.xuexuan:fragmentationx-swipeback:${version["fragmentationVersion"]}",
//rx2
"rxandroid2" : "io.reactivex.rxjava2:rxandroid:2.1.0",
"rxjava2" : "io.reactivex.rxjava2:rxjava:2.2.3",
"rxlifecycle2" : "com.trello.rxlifecycle2:rxlifecycle:${version["rxlifecycle2SdkVersion"]}",
"rxlifecycle2-android" : "com.trello.rxlifecycle2:rxlifecycle-android:${version["rxlifecycle2SdkVersion"]}",
"rxlifecycle2-components" : "com.trello.rxlifecycle2:rxlifecycle-components:${version["rxlifecycle2SdkVersion"]}",
"rxcache2" : "com.github.VictorAlbertos.RxCache:runtime:1.8.3-2.x",
"rxpermissions2" : "com.github.tbruyelle:rxpermissions:0.10.2",
"rxerrorhandler2" : "me.jessyan:rxerrorhandler:2.1.1",
//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",
"eventbus" : "org.greenrobot:eventbus:3.1.1",
"gson" : "com.google.code.gson:gson:2.8.5",
"multidex" : "com.android.support:multidex:2.0.1",
"javax.annotation" : "javax.annotation:jsr250-api:1.0",
//ARoute
"arouter" : "com.alibaba:arouter-api:${version["arouterSDk"]}",
"arouter-compiler" : "com.alibaba:arouter-compiler:${version["arouterCompilerSdk"]}",
//test
"junit" : "junit:junit:4.12",
"timber" : "com.jakewharton.timber:timber:4.7.1",
"canary-debug" : "com.squareup.leakcanary:leakcanary-android:${version["canarySdkVersion"]}",
"canary-release" : "com.squareup.leakcanary:leakcanary-android-no-op:${version["canarySdkVersion"]}",
]
}