-
Notifications
You must be signed in to change notification settings - Fork 94
/
config.gradle
133 lines (108 loc) · 5.97 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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
//Gradle配置文件
ext {
//true 每个业务Module可以单独开发
//false 每个业务Module以lib的方式运行
//修改之后需要Sync方可生效
isModule = false
//版本号
versions = [
applicationIdDEV : "com.wss.amddev", //应用ID
applicationId : "com.wss.amd", //应用ID
versionNameDEV : "2.0.0", //版本名称
versionName : "2.0.0", //版本名称
javaSDKVersion : 1.8,
compileSdkVersion : 29,
buildToolsVersion : "29.0.2",
minSdkVersion : 21,
targetSdkVersion : 26,
appcompatVersion : "1.1.0",
recyclerviewVersion : "1.1.0",
cardviewVersion : "1.0.0",
annotationVersion : "1.1.0",
materialVersion : "1.2.0-alpha05",
multidexVersion : "2.0.1",
junitVersion : "4.12",
swiperefreshVersion : "1.0.0",
localbroadcastVersion : "1.0.0",
javaxAnnotationVersion: "1.2",
lombokVersion : "1.16.6",
arouterVersion : "1.5.0",
arouterCompilerVersion: "1.2.2",
butterknifeVersion : "10.2.1",
eventBusVersion : "3.0.0",
loggerVersion : "2.2.0",
immersionbarVersion : "3.0.0",
bannerVersion : "2.1.5",
glideVersion : "4.8.0",
pickerViewVersion : "4.1.9",
QRCodeViewVersion : "1.3",
xxpermissionsVersion : "6.2",
rxHttpVersion : "2.1.1",
rxAndroidVersion : "2.1.1",
rxLifeVersion : "2.0.0",
superAdapterVersion : "3.6.8",
mpAndroidChartVersion : "v3.1.0",
scaleImageViewVersion : "3.10.0",
zxingViewVersion : "0.9.6",
zxingcoreVersion : "3.3.3",
refreshLayoutVersion : "1.1.0-alpha-14",
greendaoVersion : "3.2.2",
]
//依赖库
dependencies = [
//android系统依赖
appcompat : "androidx.appcompat:appcompat:${versions["appcompatVersion"]}",
recyclerview : "androidx.recyclerview:recyclerview:${versions["recyclerviewVersion"]}",
cardview : "androidx.cardview:cardview:${versions["cardviewVersion"]}",
annotation : "androidx.annotation:annotation:${versions["annotationVersion"]}",
material : "com.google.android.material:material:${versions["materialVersion"]}",
multidex : "androidx.multidex:multidex:${versions["multidexVersion"]}",
junit : "junit:junit:${versions["junitVersion"]}",
//google官方下拉刷新插件,也就im中使用了
swiperefreshlayout : "androidx.swiperefreshlayout:swiperefreshlayout:${versions["swiperefreshVersion"]}",
localbroadcastmanager: "androidx.localbroadcastmanager:localbroadcastmanager:${versions["localbroadcastVersion"]}",
//Lombok
lombok : "org.projectlombok:lombok:${versions["lombokVersion"]}",
javaxAnnotation : "javax.annotation:javax.annotation-api:${versions["javaxAnnotationVersion"]}",
//阿里ARouter
arouter : "com.alibaba:arouter-api:${versions["arouterVersion"]}",
arouterCompiler : "com.alibaba:arouter-compiler:${versions["arouterCompilerVersion"]}",
//Butterknife
butterknife : "com.jakewharton:butterknife:${versions["butterknifeVersion"]}",
butterknifeCompiler : "com.jakewharton:butterknife-compiler:${versions["butterknifeVersion"]}",
//EventBus
eventBus : "org.greenrobot:eventbus:${versions["eventBusVersion"]}",
//日志
logger : "com.orhanobut:logger:${versions["loggerVersion"]}",
//沉浸栏
immersionbar : "com.gyf.immersionbar:immersionbar:${versions["immersionbarVersion"]}",
//Banner轮播控件
banner : "com.bigkoo:convenientbanner:${versions["bannerVersion"]}",
//Gllide
glide : "com.github.bumptech.glide:glide:${versions["glideVersion"]}",
//弹窗选择器
pickerView : "com.contrarywind:Android-PickerView:${versions["pickerViewVersion"]}",
//危险权限
xxpermissions : "com.hjq:xxpermissions:${versions["xxpermissionsVersion"]}",
//网络
rxHttp : "com.rxjava.rxhttp:rxhttp:${versions["rxHttpVersion"]}",
rxLife : "com.rxjava.rxlife:rxlife-x:${versions["rxLifeVersion"]}",
rxCompiler : "com.rxjava.rxhttp:rxhttp-compiler:${versions["rxHttpVersion"]}",
rxAndroid : "io.reactivex.rxjava2:rxandroid:${versions["rxAndroidVersion"]}",
//万能Adapter
superAdapter : "org.byteam.superadapter:superadapter:${versions["superAdapterVersion"]}",
//图表库
mpAndroidChart : "com.github.PhilJay:MPAndroidChart:${versions["mpAndroidChartVersion"]}",
//展示大图+手势滑动
scaleImageView : "com.davemorrissey.labs:subsampling-scale-image-view:${versions["scaleImageViewVersion"]}",
//二维码扫描
zxing : "me.devilsen:CZXing:${versions["zxingViewVersion"]}",
//刷新库
refreshLayout : "com.scwang.smartrefresh:SmartRefreshLayout:${versions["refreshLayoutVersion"]}",
//数据库
"greenDao" : "org.greenrobot:greendao:${versions["greendaoVersion"]}",
]
//第三方AppId、AppKey等配置
appkeys = [
]
}