build.gradle
6.42 KB
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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
// Top-level build file where you can add configuration options common to all sub-projects/modules.
apply from: "config.gradle"
buildscript {
repositories {
google()
jcenter()
mavenCentral()
maven {
url 'http://nexus2.tingyun.com/nexus/content/repositories/snapshots/'
}
maven {
url 'https://dl.bintray.com/granzon/cnlive'
}
maven { url 'https://dl.bintray.com/umsdk/release' }
maven {
url 'https://maven.aliyun.com/nexus/content/groups/public/'
}
}
dependencies {
classpath "com.android.tools.build:gradle:4.1.2"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
jcenter()
mavenCentral()
maven {
url "https://dl.bintray.com/aiui/maven"
}
maven { url 'https://dl.google.com/dl/android/maven2/' }
jcenter()
maven {
url 'http://maven.aliyun.com/nexus/content/repositories/releases/'
}
maven { url 'https://jitpack.io' }
// maven {
// url "http://cnlive.online:8081/repository/cnlive/"
// }
//------------------ 资源库配置 ------------------
maven {
url mavenMixedUrl
credentials { username = nexusId; password = nexusPw }
}
maven {
url 'http://android.nexus.cnlive.com/repository/cnlive-shop/'
credentials { username = 'shop'; password = 'ShangHa1' }
}
maven {
url 'http://wjjshop.cnlive.com:9188/repository/cnlive-modules/'
credentials { username = "cnlive-android"; password = "cnlive123" }
}
maven { url "http://dl.bintray.com/kavensjf/eduTv/" }
//------------------ 资源库配置 END------------------
maven {
url 'http://nexus2.tingyun.com/nexus/content/repositories/snapshots/'
}
maven {
url 'https://maven.aliyun.com/nexus/content/groups/public/'
}
maven {
url 'https://dl.bintray.com/cjt/maven'
}
maven {
url "https://jitpack.io"
}
maven {
url 'https://dl.bintray.com/granzon/cnlive'
}
maven {
url 'https://dl.bintray.com/granzon/cnliveLibs'
}
maven {
url 'http://developer.huawei.com/repo'
}
maven {
url 'http://maven.aliyun.com/nexus/content/repositories/releases/'
}
maven { url 'https://dl.bintray.com/umsdk/release' }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
//配置全局变量
ext {
def versionMajor = 1
def versionMinor = 7
def versionPatch = 2
def versionBuild = 1
// module依赖库公共版本号
versionCode = versionMajor * 1000 + versionMinor * 100 + versionPatch * 10 + versionBuild
versionName = "${versionMajor}.${versionMinor}.${versionPatch}.${versionBuild}"
compileSdkVersion = 29
buildToolsVersion = "29.0.2"
minSdkVersion = 19
targetSdkVersion = 29
//基础库
libBase = '1.9.7.3-androidx'
libNetwork = '1.1.7.1-androidx'
libEmoj = '2.2.4.0'
libAnalytics = '1.1.4-androidx'
libLargeImage = '1.0.4-androidx'
libNewMediaPicker = '1.0.4.4'
libWjjPay = "1.0.5-androidx"
appAgriculture = "1.2.7-androidx"
appArch = '1.3.6.5-androidx'
libServicenum = '1.2.4-androidx'
libSocial = '0.3.2.3'
//视频库
libVideoQiniu = '1.0.7-androidx'
//幸福中国
moduleHappyChina = '0.0.12'
//androidx
androidx_appcompat = "1.0.0"
androidx_material = "1.0.0"
androidx_legacy_supportv13 = "1.0.0"
androidx_legacy_supportv4 = "1.0.0"
androidx_recyclerview = "1.0.0"
androidx_cardview = "1.0.0"
androidx_constraintlayout = "1.1.3"
androidx_multidex = "2.0.0"
androidx_emoji_bundled = "1.0.0"
//商城库
shopmoduleVersion = '0.6.0.61'
//环球优物-商城库
shanghai_shopmoduleVersion = '1.1.0'
//阿里路由框架
arouterApiVersion = '1.5.0'
arouterCompilerVersion = '1.2.1'
//视讯云相关
libCnUtil = '3.1.5'
libCnVideo = '3.3.25'
libCnencipher = '1.1.1'
//glide
glide = '4.11.0'
glideIntegration = "4.11.0"
glideTransformations = '4.1.0'
compiler = '4.11.0'
fastjson = '1.2.70'
//数据库加密
androidDatabaseSqlcipher = '3.5.6'
//qmui
qmui = '1.1.5'
//高德地图
location = 'latest.integration'
//SmartRefresh
SmartRefreshLayout = '1.1.0-alpha-6'
SmartRefreshHeader = '1.1.0-alpha-6'
//二维码相关
bgaQrcodeZxing = '1.3.6'
bgaQrcodeZbar = '1.3.6'
//七牛
qiniuAndroidSdk = '7.4.3'
//听云
nbsNewlensAgent = '2.14.9'
//eventbus
eventbus = '3.1.1'
//华为推送
push = '2.6.0.301'
//GSON
gson = '2.8.5'
//greendao
greendao = '3.3.0'
//retrofit2
retrofit = '2.6.3'
converterGson = '2.6.3'
adapterRxjava2 = '2.6.3'
//okhttp3
okhttp = '3.12.6'
loggingInterceptor = '3.12.6'
//rxJava
rxJava = "2.1.8"
rxAndroid = "2.0.1"
//IM
imsdk = '4.8.50'
callsdk = '1.0.9'
//魅族推送
pushInternal = '3.6.+@aar'
//其他
circleimageview = '2.1.0'
recyclerviewAnimators = '3.0.0'
TimePickerDialog = '1.0.1'
loadingviewlib = '1.0'
lottie = '2.7.0'
easypermissions = '1.0.0'
rotatephotoview = '1.0.5'
magicindicator = '1.6.0'
libAudio = '1.0.1'
appSubscription = "2.5.6-androidx"
eventBus = "3.1.1"
agentweb = '4.0.3-beta'
filechooser = '4.0.3-beta'
download = '4.0.3-beta'
pedometer = "1.2.5-androidx"
avi = "2.1.3"
classification = "0.9.6.9.9.2-androidx"
//友盟
umsdk_asms = "1.2.1"
umsdk_common = "9.3.7"
umsdk_apm = "1.1.1"
//小家音箱
xiaojiaSoundBox = "0.4.0-androidx"
//动画大全
viewAnimationsEasing = '2.0@aar'
viewAnimationsAndroid = '2.3@aar'
//蓝牙
BleLib = "2.3.4"
gifDrawable = '1.2.3'
trtc = "7.2.8927"
//滑动面板
slidinguppanel = '3.4.0'
//外部分享
lib_outside_share = '1.0.2.9'
//腾讯mmkv
tencent_mmkv_static = "1.2.6"
//relinker(一些 Android 设备(API level 19)在安装/更新 APK 时可能出错, 导致 libmmkv.so 找不到)
relinker = "1.4.1"
}