build.gradle
4.62 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
apply from: "config.gradle"
buildscript {
repositories {
//关联微博
maven { url "https://dl.bintray.com/thelasterstar/maven/" }
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' }
}
dependencies {
classpath 'com.android.tools.build:gradle:3.5.1'
classpath "com.alibaba:arouter-register:1.0.2"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
maven { url "https://dl.bintray.com/thelasterstar/maven/" }
google()
jcenter()
//------------------ 资源库配置 ------------------
maven {
url "http://android.nexus.cnlive.com/repository/cnlive-mixed/"
credentials { username = nexusId; password = nexusPw }
}
//------------------ 资源库配置 END------------------
maven {
url 'https://dl.bintray.com/granzon/cnlive'
}
maven {
url 'https://dl.bintray.com/granzon/cnliveLibs'
}
maven {
url "https://jitpack.io"
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
//配置全局变量
ext {
def versionMajor = 1
def versionMinor = 5
def versionPatch = 5
def versionBuild = 5
// 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.6.2'
libNetwork = '1.1.5'
libEmoj = '2.0.9'
libMenu = '1.0.6'
libAnalytics = '1.1.0'
libLargeImage = '1.0.1'
libMediaPicker = '1.5.8'
libWjjPay = "1.0.5"
appAgriculture = "1.1.9"
appArch = '1.1.1'
//视频库
libVideoQiniu = '1.0.6'
//幸福中国
moduleHappyChina = '0.0.12'
//support 相关
supportV4 = '28.0.0'
appcompatV7 = '28.0.0'
design = '28.0.0'
supportV13 = '28.0.0'
recyclerviewV7 = '28.0.0'
cardviewV7 = '28.0.0'
multidex = '1.0.3'
constraintLayout = '1.1.3'
//阿里路由框架
arouterApiVersion = '1.4.0'
arouterCompilerVersion = '1.2.1'
//视讯云相关
libCnUtil = '3.1.5'
libCnVideo = '3.3.11'
libUpload = '2.0.6'
libCnencipher = '1.1.1'
//glide
glide = '4.5.0'
glideTransformations = '3.0.1'
compiler = '4.5.0'
//数据库加密
androidDatabaseSqlcipher = '3.5.6'
//qmui
qmui = '1.4.0'
//高德地图
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.3.11'
//听云
nbsNewlensAgent = '2.14.1'
//eventbus
eventbus = '3.1.1'
//华为推送
push = '2.6.0.301'
//mvp 框架
mvp = '3.0.4'
viewstate = '3.0.4'
mvpLce = '3.0.4'
mvpNullobjectPresenter = '3.0.4'
//GSON
gson = '2.8.2'
//greendao
greendao = '3.2.2'
//retrofit2
retrofit = '2.3.0'
converterGson = '2.3.0'
adapterRxjava2 = '2.3.0'
//okhttp3
okhttp = '3.9.0'
loggingInterceptor = '3.9.0'
//rxJava
rxJava = "2.1.8"
rxAndroid = "2.0.1"
//IM
imsdk = '3.3.2.14394.14395'
callsdk = '1.0.9'
//魅族推送
pushInternal = '3.6.+@aar'
//其他
circleimageview = '2.1.0'
recyclerviewAnimators = '2.2.6'
TimePickerDialog = '1.0.1'
loadingviewlib = '1.0'
lottie = '2.7.0'
easypermissions = '1.0.0'
rotatephotoview = '1.0.5'
LargeImageView = '1.1.0'
magicindicator = '1.6.0'
libAudio = '1.0.1'
appSubscription = "2.0.5"
eventBus = "3.1.1"
agentweb = '4.0.3-beta'
filechooser = '4.0.3-beta'
download = '4.0.3-beta'
pedometer = "0.9.8"
avi = "2.1.3"
classification = "0.5.7"
//友盟
umsdk_analytics = "8.0.0"
umsdk_common = "2.0.0"
//小家音箱
xiaojiaSoundBox="0.3.17"
//动画大全
viewAnimationsEasing='2.0@aar'
viewAnimationsAndroid='2.3@aar'
//蓝牙
BleLib="2.3.4"
}